vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to add your own template group (https://vborg.vbsupport.ru/showthread.php?t=70165)

KW802 11-01-2004 04:16 PM

Now if somebody could only get the "adv_portal" templates do do that for vBa CMPS I'd be happy. :p

Logikos 11-01-2004 04:44 PM

Quote:

Originally Posted by KW802
Now if somebody could only get the "adv_portal" templates do do that for vBa CMPS I'd be happy. :p

Thats not hard, if you read the first post you will know how to do that.

Find:
PHP Code:

'subscription' => $vbphrase['group_paid_subscriptions'], 

Below Add:
PHP Code:

'adv_portal' => $vbphrase['vbadvanced_cmps_templates'], 

Add new phrase:
vbadvanced_cmps_templates
vBadvanced CMPS Templates

Done!

KW802 11-01-2004 04:49 PM

Quote:

Originally Posted by Live Wire
Thats not hard, if you read the first post you will know how to do that. <snip>

Actually, mine already looks like.....
Code:

'adv_portal' => 'vBadvanced CMPS',
'adv_links' => $vbphrase['group_adv_links'],

If the code you posted on your site is working to group the CMPS templates then I must've screwed something else up somewhere.

Knowing how to do it isn't the problem..... why it isn't working is. ;)

DS MrSinister 11-01-2004 05:35 PM

thanks for the help.. now i Just can't get the adv_portal templates to move. Like the ones i have added.

any ideas on it?

Natch 11-04-2004 12:44 AM

I get this problem sas well, but others with the same hack installed have it working (/me points @ Boofo and Dark_Wizard) ... so I dunno what it is: the file mods are the same...

venomx 02-25-2005 08:08 AM

This works on some but not others. Not sure why...

squawell 02-25-2005 09:59 AM

Quote:

Originally Posted by venomx
This works on some but not others. Not sure why...

agree that...sometimes works but sometimes not ...so strange:ermm:

deathemperor 02-25-2005 11:59 AM

it works for most of the cases, the only time I saw it doesn't work is when using for adv_portal. all of else works for me.

teamgofast 02-27-2005 02:03 PM

this is a great tip, cleans things up nicely, now what to do with the custom adv_portal templates?

macooper 05-27-2005 09:33 PM

I just tried this for the geek article system, and it didn't work. However, I noticed that all the templates started 'GAS_', so I used the code

PHP Code:

'GAS_' => $vbphrase['group_gas_hack'], 

which turned out to be the problem. Even though the templates started in uppercase, I had to list the filter phrase in lowercase like this

PHP Code:

'gas_' => $vbphrase['group_gas_hack'], 

Then everything worked as expected. As it wasn't obvious to me that I should always use lowercase for the filter, I thought I'd add this note.


All times are GMT. The time now is 02:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01274 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete