The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi guys, before i upgraded to 3.5.1 i had a small template hack that i dont appear to be able to get working in 3.5.1
Basically all it does is display the value of one of the users custom fields under their post info (username, post count etc) when they make a post. Can someone help me get it working again? If so that would rock. Also if anyone knows the ins and outs of the Vbulletin menu system, is it possible to not only display that value i mentioned above, but link it to something? Any advice or help appreciated, please reply here or to my email shane@xboxworld.com.au if you can! ![]() |
#2
|
|||
|
|||
![]()
It would help if you posted the code that is giving you problems. We usually don't offer support via mail, but on the forums.
|
#3
|
||||
|
||||
![]()
i created a custom field for everyones profile that they enter their Xbox Live gamertag into and then with help from vb.org member EviLS1 who helped me edit the postbit forum and add this code :
X-Box Live gamer tag: $post[fieldX]<br></smallfont> (replaced the Xs with the field ID) naturally it appeared for everyone regardless of whether they had anything entered in that field for it or not, so under if ($post[customtitle]==2) { $post[usertitle] = htmlspecialchars($post[usertitle]); } in admin/functions.php we added // first custom profile field if ($post[fieldX]!="") { $gamedata1="<smallfont><b>Xbox Live gamer tag:</b><br>$post[fieldX]</smallfont><br>"; } else { $gamedata1=""; } then in the post bit template, changed the original code at the top simply to : $gamedata1 then when people posted in my forum, if they had an entry in that custom form field it would display like this in the forum under their post count etc Gamertag : Spagman (if Spagman was what they entered in the custom field) What i want to do is get that working again, i may have made a mistake so will check all the code on my end again, but i'm hoping to do something different and expand on it a little bit. I like the way that the VB forum menus work with the popup cascading type menus when you click on search etc or the persons username in their posts to get the 'view public profile' etc options. What i would like to get that custom field displaying again, but when you click on it, a window appears like when you click peoples usernames, but it needs to reference data from an external source via an iFrame. It's nothing unique, i actually wanted to do it a few weeks ago but another site beat me to it and i can give you the link to it in action if required. I hope that makes sense! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|