vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   $forumid variable in $Globals for postbit,forumdisplay,forumhome,headerinclude,navba r (https://vborg.vbsupport.ru/showthread.php?t=294853)

cellow 02-07-2013 08:11 PM

just 1 style and for sure postbit_legacy (userinfo is left) ....

something going wrong here ... i dont know what ...

kh99 02-07-2013 08:17 PM

If you take out the <if> completely do you see ads?

Edit: oh, well you said guests are still seeing them so I guess it won't make any difference. I really can't think what it could be. I guess it could be that there's an error somewhere in that template so that it's not saving the changed version (but normally it will tell you there's an error when you save it).

This may be a stupid question, but are you sure you're working on the right site (and not a test site or something)? I guess you'd know that since the other pages worked.

There is a post cache but I'm pretty sure it only caches the actual post text. If you want you could try truncating the postparsed table in the database. Edit: no, that can't be it - it certainly doesn't cache the rendered postbit template.

cellow 02-07-2013 08:34 PM

no, even this it doesnt show ... i also tried to use directly editing the template without the template modification system ...

kh99 02-07-2013 08:39 PM

oh, right, i forgot you're using the template modification system. I don't know anything about that.

Simon Lloyd 02-07-2013 08:54 PM

Tomorrow i'll modify my mod to set to show in set forums for each ad variable, it might be easier for you to use.

cellow 02-07-2013 10:08 PM

after searching dozen of template modifications in the TMS , i found in postbit_legacy template, a stupid typo ... i didnt close </if> the condition in previous lines before my ad conditions begins...

now works everything like a charm :)

kevin, thank you very much... how can i donate you?

--------------- Added [DATE]1360282143[/DATE] at [TIME]1360282143[/TIME] ---------------

Quote:

Originally Posted by Simon Lloyd (Post 2402750)
Tomorrow i'll modify my mod to set to show in set forums for each ad variable, it might be easier for you to use.

that would be nice (thank you!)

--------------- Added [DATE]1360283687[/DATE] at [TIME]1360283687[/TIME] ---------------

is there any way of conditions to define main-forumid (including all subforumids) without typing all subforumids?

thank you 4 ur support...

Simon Lloyd 02-08-2013 05:05 AM

You can donate to Kevin here https://vborg.vbsupport.ru/showthrea...ojs=1#gtdonate or any "Support Developer" link in any of his mods. Do you really need me to work on mine now you have this working?

As for forumid selection you could have a multi select list in options settings to select them, Kevin, being a lateral thinker might have another way around it :)

kh99 02-08-2013 11:00 AM

Thanks, but there's no need for a donation. You can donate to Simon when he builds you the mod you need.

Simon Lloyd 02-08-2013 04:11 PM

Should have this finished later today when i get home, it will be able to display any or all ads in any or all forums, and what's great is you can still add conditionals around the ads to show to specifi usergroups....etc

--------------- Added [DATE]1360424435[/DATE] at [TIME]1360424435[/TIME] ---------------

Ok, this is strictly beta and has had very minimal testing as i dont have much time, you need to have Template-Modifications Manager installed to use this right now but i will develop it further (time allowing) so if you want to test it pm me for the zip file.


All times are GMT. The time now is 04:45 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.01728 seconds
  • Memory Usage 1,729KB
  • 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_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
  • (9)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