vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   WebTemplates 3.5.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=103076)

Megadeuce 03-26-2007 02:26 AM

I'm sorry if someone has asked this already but I've noticed on the sites that this mod was installed on, let's say the leatherneck site, that I cannot find the link to click on that site to get to the about us page.

My question is, once you create a page, how to you get a link to diplay is a specific place on your VB forum?

Logician 03-26-2007 05:27 AM

Quote:

Originally Posted by Megadeuce (Post 1212380)
I'm sorry if someone has asked this already but I've noticed on the sites that this mod was installed on, let's say the leatherneck site, that I cannot find the link to click on that site to get to the about us page.

My question is, once you create a page, how to you get a link to diplay is a specific place on your VB forum?

You can:

1- Create your webtemplates link yourself manually in certain locations like navbar.
2- Put your webtemplates link an other webtemplate or site main page
3- Hack has already comes with a default webtemplate, which automatically compiles the list of your webtemplates created in a special group.

Megadeuce 03-26-2007 11:39 PM

Thank you for this great hack. I like that it comes with the default template with automatic list of webtemplates, but I will need a link in a navbar. Is this easily done, or is this another hack?

Logician 03-27-2007 06:23 AM

Quote:

Originally Posted by Megadeuce (Post 1213213)
Thank you for this great hack. I like that it comes with the default template with automatic list of webtemplates, but I will need a link in a navbar. Is this easily done, or is this another hack?

You can edit template named "navbar" and add any link there:

Admin cp/styles&templates/style manager/(Expand Templates)/Navigation / Breadcrumb Templates/navbar (edit)

Quantnet 03-27-2007 08:06 AM

Logician,

I have created a webtemplate where member can log in and have a different message displayed depends on which usergroup the member belongs to.

i have a small question, I don't know why the even though the page displays fine, the hourglass on the cursor seems to loads forever....

It's like something is still loading....

Deimos 03-27-2007 05:32 PM

When running this on VB 3.6.4, I get this error at the top of any webtemplate page

Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 59

Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 60

Wondering if it's a compatability problem with PHP5?

Logician 03-27-2007 05:44 PM

Quote:

Originally Posted by Deimos (Post 1213744)
When running this on VB 3.6.4, I get this error at the top of any webtemplate page


Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 59

Warning: unserialize() expects parameter 1 to be string, array given in /view.php on line 60

Wondering if it's a compatability problem with PHP5?

It looks like that. I haven't tested it with php5 before. If everything else seems to work fine, changing line 59 and 60 like this MAY work:

PHP Code:

$wt_hf = @unserialize($vbulletin->wt_hf);
$wt_themes = @unserialize($vbulletin->wt_themes); 


Deimos 03-27-2007 05:56 PM

That seems to have worked aok!
Thanks

Megadeuce 03-29-2007 11:31 PM

Thanks Logician for you help. This is a nicely done and useful hack.

I see your code. Will this allow me to post this code is a specific forum instead of all forums?

Pocket Aces 04-07-2007 04:30 AM

Nice hack. So far it works well on vb 3.6.5.

By the way, how do i remove the page stats on footer (ie. page visitors, last visitor, page created, etc.)?


All times are GMT. The time now is 08:40 AM.

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.02025 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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