The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Different PostBit - Read More inside
I need to know if someone can tell me how to generate different postbit template.
Eg, A topic is created, the first post of the topic is different then the rest, also this can be customized for different forums by specifying the FORUM ID's to use the custom postbit template for. Just the one first post, and the rest of them different, kind of like someone posts a wallpaper so the first post looks like a Gallery sort of thing or whatever and the rest appear as comments. Anyone can do that?? if not, thanks anyways. Something like this in the showthread functions file... if $forumid = 24 and $postnumber = 1 then fetch template $custompostbit // for the main post part else if $forumid = 24 fetch template $custompostbit2 // for the comments part i know its not just a two line thing, but i'm just writing that to let u kno what im talking about, lol |
#2
|
||||
|
||||
You'd be suprised...
In includes/functions_showthread.php find: PHP Code:
PHP Code:
Tell me if it works. |
#3
|
||||
|
||||
Is there a way I can specify that a Specific image code be displayed at a specific place?
like <if condition=$vbcode [image]> or like a custom field I can add where the user specifies a URL of an image when posting and it is prased as $customimg |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|