Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] topic prefix not working



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  eLektronic2017x

avatar
V.I.P. Member
V.I.P. Member
  • Description:
Hello, I followed this tutorial: http://www.punbb.biz/t6-javascript-topic-prefix but not working

  • Information:
Forum:http://board.infinigame.net/Version:PUNBB
Type:Errors in codeTags:topic,prefix,working

Powered by PunBB
Currently 0 users have thanked eLektronic2017x for this post:

2
Offline

  Dustin

avatar
V.I.P. Member
V.I.P. Member
What part of the tutorial isn't working? The whole thing? Does it even do any changes to your forum?

Powered by PunBB
Currently 0 users have thanked Dustin for this post:

3
Offline

  eLektronic2017x

avatar
V.I.P. Member
V.I.P. Member

Powered by PunBB
Currently 0 users have thanked eLektronic2017x for this post:

4
Offline

  Dustin

avatar
V.I.P. Member
V.I.P. Member
You were on the wrong tutorial.

Try this one: http://www.punbb.biz/t193-javascript-topic-icons-using-jquery

Powered by PunBB
Currently 0 users have thanked Dustin for this post:

5
Offline

  eLektronic2017x

avatar
V.I.P. Member
V.I.P. Member
maxim multiply this cod is 2?

Code:
jQuery(document).ready(function(){jQuery(".module a, .topiclist, .page-title, .statused").each(function(){jQuery(this).html(jQuery(this).html().replace(/✔/g,'<span id=\'resol_d\'>SOLVED TEXT</span>'))})});

Powered by PunBB
Currently 0 users have thanked eLektronic2017x for this post:

6
Offline

  Dustin

avatar
V.I.P. Member
V.I.P. Member
No, you can have more than 2.

.replace(/✔/g,

the ✔ will be used as symbol which you must put at Topic Title where you want to dislay the Solved in this case.

resol_d

this is the CSS part which we named resol_d for solve

To add more, just create a new script and change '✔' and 'resol_d' to (just an example) 'Important:' and 'resol_f' . Make sense?

Powered by PunBB
Currently 0 users have thanked Dustin for this post:

7
Offline

  Guest

avatar
Guest
Is it solved now? @eLektronic2017x

Powered by PunBB
Currently 0 users have thanked Guest for this post:

8
Offline

  eLektronic2017x

avatar
V.I.P. Member
V.I.P. Member
YES, thx Very Happy

Powered by PunBB
Currently 0 users have thanked eLektronic2017x for this post:

9
Offline

  Shadow

avatar
Administrator
Administrator
[sucesso="Marked as Solved"]The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been marked as Solved.

If you have further questions, please open a new topic.[/sucesso]

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

10
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum