|
||
|
|
|||||||
| Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis. |
|
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).
|
![]() |
|
|
Thread Tools |
vBulletin thread prefix help
I've just installed a thread prefix product on my forums—the same one GFF uses, seemingly—and everything's fine and dandy. However, I can't figure out how the hell to use images for thread prefixes instead of plain text (just like GFF's system). No explanation of how to achieve this exists in the documentation, nor does the UI hint at it being possible.
I'd be extremely grateful if someone could reveal how exactly to do this. Cheers in advance. Jam it back in, in the dark. |
Awesome - cheers for the help, Blah.
I've looked through all the templates I had to alter, and can't figure out which segments of code to replace. I'm having a hard time locating the relevant string — however, I found this bit of code I added to the forumdisplay template: Code:
<if condition="$show['threadprefix']"> <td colspan="2" class="smallfont"> </td> </tr> <tr> <td class="smallfont">$vbphrase[threadprefix]:</td> <td>$threadprefixes</td> </if> <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[show_threads]" /> </td> </tr> There's nowhere I can't reach. |
Hm. I've tried a bunch of changes (including the one above) and nothing's working. Would it be too much to ask to take a peek at how it's done in GFF's forumdisplay?
This thing is sticky, and I don't like it. I don't appreciate it. |
Never mind; I figured it out — it was as simple as changing the forum HTML markup to <img src="http://www.gamingforce.org/forums/images/prefixes/${1}.gif" alt="{1}" /> (where {1} is rendered as the name of the prefix). Didn't need to edit any templates or anything. Goddamn I'm stupid.
I am a dolphin, do you want me on your body? |
What the fuck, it rendered "/images/prefixes" with the rest of the GFF URL simply because it was wrapped in HTML (despite being unparsed). I AM BEING MADE TO LOOK SILLY
![]() I was speaking idiomatically. |
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pre-E3 Wii thread | FatsDomino | Video Gaming | 130 | May 9, 2006 10:13 AM |