PDA

View Full Version : grouping of custom templates


Milorad
07-17-2004, 12:31 PM
I know this is supposed to work, but it doesnt.

Is there any way to fix the fact that custom adv_portal prefixed templates don't show under the vBa template category?

Thanks :)

Polo
07-23-2004, 03:47 PM
this may help you

http://www.vbulletin.org/forum/showthread.php?t=63519

;)

hope it does.

Our Sponsors
 

Brian
07-23-2004, 04:03 PM
He's talking about custom templates that are added. The same steps in that link are already done during the installation. For some reason though any custom templates that are added with the prefix 'adv_portal' do not appear grouped with the CMPS templates as others do.

Polo
07-23-2004, 04:05 PM
Yeah, i see...

what if the hack mentioned is installed? that will fix the problem dont you think?

i also have a big list of adv_portal tempaltes... and i will try installing this mod later on, i will update.

Our Sponsors
 

Brian
07-23-2004, 04:07 PM
That "hack" is already applied when you first install vBa CMPS...

In your /forum/includes/adminfunctions_template.php file:

Find:
'forumhome' => $vbphrase['group_forum_home'],

Below that Add:
'adv_portal' => 'vBadvanced CMPS',

Polo
07-23-2004, 04:09 PM
mmm... they i wonder why they are not arranged properly... :confused:

Milorad
07-26-2004, 03:34 AM
is there something I can run occasionally, to throw them in there?

something that is done during the CMPS installation to make the default templates group under there, perhaps?

Polo
07-26-2004, 09:09 AM
mmm... i havent seen anything.... it would be something useful though... dont you think?

Brian
07-26-2004, 11:57 AM
It looks like the problem is the naming of the vBa templates. They're all named 'adv_portal_whatever'. As you see, the vBa templates have two '_' marks in them, while any default vBulletin templates will only have one '_' mark, and that is part of what vBulletin uses to group the templates.

Polo
07-26-2004, 12:28 PM
mmm...
then i think we should change the format to advportal_whatever right?

Brian
07-26-2004, 12:37 PM
I *may* change them to adv-portal in a future version, but the only problem with that is that it will mess up the hacks and modules that have already been released...

Polo
07-26-2004, 12:50 PM
mmm... well i hope you can find a way for this issue, if not, i guess we will have to adjust to it...