The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#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:
|