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] Looking for a couple things



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

1
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
  • Description:
First i'm looking for IPB members list and Colored topic prefixes and help would be great.

Thank you kindly!

  • Information:
Forum:http://www.team-psn.net/Version:PUNBB
Type:Errors in codeTags:Looking,couple,things

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

2
Offline

  Shadow

avatar
Administrator
Administrator

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

3
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
Thank you sir any way to get the colored prefixes?

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

4
Offline

  Virus

avatar
★Moderator★
★Moderator★
To get colored perfixes you can add this in a new Javascript and placing it In all the pages and change the perfixes you want:
Code:
jQuery(document).ready(function(){jQuery(".tcl.tdtopics, .module a, .tcr a, .posthead a, .pun-crumbs p, .pun h2, .module .main-head, .pun h3, .pun input, .pun select, .pun th").each(function(){jQuery(this).html(jQuery(this).html().replace(/perfix1/g,"<span id='perfix1'>PERFIX 1:</span> "))})});

jQuery(document).ready(function(){jQuery(".tcl.tdtopics, .module a, .tcr a, .posthead a, .pun-crumbs p, .pun h2, .module .main-head, .pun h3, .pun input, .pun select, .pun th").each(function(){jQuery(this).html(jQuery(this).html().replace(/perfix2/g,"<span id='perfix2'>PERFIX 2:</span> "))})});

function tagprefixo(){jQuery("input[name=subject]").val(jQuery("select[name=tags4]").val()+jQuery("input[name=subject]").val())}jQuery(document).ready(function(){jQuery('input[name="subject"]').after('<dd/><select name=tags4 onchange=tagprefixo()><option value="">No Option</option><option value="perfix1 ">PERFIX 1: </option><option value="perfix2 ">PERFIX 2: </option></select> ')});
 
jQuery(document).ready(function(){var b=jQuery("input[value=reply]").val();"reply"==b?jQuery("select[name=tags4]").css("display","none"):"quote"==b&&jQuery("select[name=tags4]").css("display","none")});

and then go to CSS and style them as you want:
Code:
#perfix1 { ... }
#perfix2 { ... }

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

5
Offline

  FrOsTyXi

avatar
V.I.P. Member
V.I.P. Member
thank you kindly sir!

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

6
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:

7
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