PDA

View Full Version : Postbit mod.


EGF_Mafia
05-18-2008, 09:18 PM
Will i was just wondering, if someone could make a postbit mod for me.
I need this for vb 3.7 gold

What i want is the first post to be the regular postbit BUT the rest of the posts to be postbit_legacy.

If anyone can do that for me :)

Sorry if this is in wrong section :(

EGF_Mafia
05-20-2008, 01:37 AM
bump,,
anyone?

Lynne
05-20-2008, 02:45 AM
Do a search on Chief First Post (I think that's what it's called - it does have Chief in the title).

EGF_Mafia
05-20-2008, 03:11 AM
Thanks but thats not what im looking for,

:(

I dont want people to be able to change it or anything, i want it at default to be the regular postbit for the first post and legacy for the rest

GameWizard
05-20-2008, 07:16 AM
Gotta find a hack that changes the first post then only. You could modify the hack suggsted, but remove the selection altogether and fix to use a template of your choice, in this case it's the default postbit template.

Lynne
05-20-2008, 02:11 PM
hook: postbit_display_complete:

if ($post['postid']==$this->thread['firstpostid'])
{
$this->templatename = 'postbit';
}

EGF_Mafia
05-20-2008, 06:48 PM
Confused, what do i do with that?

Lynne
05-20-2008, 07:28 PM
Create a plugin using the hook 'postbit_display_complete' and put that code in there.

EGF_Mafia
05-20-2008, 07:56 PM
:( not working

Lynne
05-20-2008, 08:28 PM
:( not working
Hmmm, don't know why. It works just fine on my forum. It only changes the template of the very first post, not the first post on every page of the thread.

EGF_Mafia
05-20-2008, 08:29 PM
I know that, maybe cuz the vbseo is changing the thread id or something? lol idk

Do you think you can take a look?

Lynne
05-20-2008, 09:26 PM
I have absolutely no experience with vbseo at all, so I would not be able to troubleshoot a problem it is causing, sorry.

EGF_Mafia
05-20-2008, 09:48 PM
:(

Can anyone else help?
Or know where i can get a custom mod.