vb.org Archive

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

zelnik 06-23-2011 04:05 PM

Hi Logican.

Hope you're well..

Been using your system for years and since release on vB4...

I have been using the default style since vb4 has been released but now I've installed a new one but every single page created with your product just brings up faulty headers, backgrounds and footers?

What am I doing wrong mate as I know it's not your product.. thanks.

Logician 06-23-2011 04:38 PM

Quote:

Originally Posted by zelnik (Post 2211830)
I have been using the default style since vb4 has been released but now I've installed a new one but every single page created with your product just brings up faulty headers, backgrounds and footers?

Do you see the forum in correct style while webtemplates are in the wrong one? Also what happens when you select the style at the footer of a webtemplate?

Webtemplates uses the default style selection of the user while building pages. If you can't figure out give me admin access and FTP access to your site and I'll check. But in other installations it works fine so I believe it is somehow related to your settings/site/style.

zelnik 06-23-2011 05:32 PM

Quote:

Originally Posted by Logician (Post 2211836)
Do you see the forum in correct style while webtemplates are in the wrong one? Also what happens when you select the style at the footer of a webtemplate?

Webtemplates uses the default style selection of the user while building pages. If you can't figure out give me admin access and FTP access to your site and I'll check. But in other installations it works fine so I believe it is somehow related to your settings/site/style.

Hi Logician,

Urm, the header is mostly messed up and the background to the body of the templates, nor does the footer.

I seem to remember I had this issue even on the default theme and you fixed it for me as you said it was a one off so I will kindly forward you my admin/ftp details, thank you! :)

zelnik 06-24-2011 07:23 AM

Hi Logician,

Can you let me know if you got my PM with the login details as I can't remember if I did it what with all the hassle I was under with this new skin and it's not in my sent folder but I'm sure I sent it?

Logician 06-24-2011 07:50 AM

Quote:

Originally Posted by zelnik (Post 2211850)
Hi Logician,

Urm, the header is mostly messed up and the background to the body of the templates, nor does the footer.

I seem to remember I had this issue even on the default theme and you fixed it for me as you said it was a one off so I will kindly forward you my admin/ftp details, thank you! :)

I got your pm, checked the board but couldn't find a hint. 2 things though:
1- Please turn off vbseo for a while and see if this will fix it. I'm a bit suspicious about this one.
2- Check your style's installation instructions and let me know if there is any php code changes or pluggin/product installations there.

zelnik 06-24-2011 07:55 AM

Quote:

Originally Posted by Logician (Post 2212080)
I got your pm, checked the board but couldn't find a hint. 2 things though:
1- Please turn off vbseo for a while and see if this will fix it. I'm a bit suspicious about this one.
2- Check your style's installation instructions and let me know if there is any php code changes or pluggin/product installations there.

Turned vbseo off and still the same :(

The only instructions are to upload the files and install the xml.. However there is a .css.xml for addons that may not work?

A lot this new style seems to focus around additional.css if that's any help?

Do you want me to upload the css file to my site and pm you the link to it?

Thanks

zelnik 06-24-2011 08:32 AM

Fixed... For anyone using completevb vb4 styles you will need to install the seperate CSS XML file and it will work fine!

8thos 07-09-2011 05:41 PM

Members from my site come to me asking if I can create a site for them. I'm too busy to work on other people's sites. Through this modification however, I could basically build a site for them by creating and individual page for them right? Are there any other administrators that use Web Templates this way?

I got the idea just now when I read that you can have custom headers and footers.

I also read that you can put a thread inside web templates? For instance, if you create a forum where guests posts, you can basically put a 'guest book' inside the template?

I have photopost installed on my site. Could I create a widget of a member's photos albums and put them inside the template too?

I was wondering if I should create a wordpress or tell members to create their own word press and some how import it inside the templates. Is that possible?
W

byalik 07-12-2011 06:55 PM

The plugin doesn't seem to be working well with my template:
http://legalhelp.org/forum/view.php?pg=info_privacy

Can anyone help? I am willing to pay. Please PM me

byalik 07-14-2011 02:19 AM

Anyone know why the "webtemplate name" is showing up as well as the user friendly name?:

http://legalhelp.org/forum/view.php?pg=info_privacy

byalik 07-14-2011 05:56 PM

Anyone know the answer to that? Or at least know how to get rid of the webtemplate name from showing up

grey_goose 07-28-2011 10:52 AM

Very cool mod :)

I created my first page, with a custom theme... but it doesn't seem to be recognizing that I'm logged in when I view it -- at least, not completely. The permissions/display are correct, but the header login reappears. What am I doing wrong?

bjarne2 07-28-2011 11:52 AM

Quote:

Originally Posted by byalik (Post 2220286)
Anyone know why the "webtemplate name" is showing up as well as the user friendly name?:

http://legalhelp.org/forum/view.php?pg=info_privacy

view.php is not template name, it is the file you call and thereby downloading your name on the template. You can not call info_privacy directly.

view.php. It is possible to set permissions in this system also who may not see.

I'm running even with a huge system which combines both car trade and a member directory in 4.1.4

Everything done by using some Javascript and save outside the system. It works really well.

grey_goose 07-30-2011 02:41 AM

Quote:

Originally Posted by grey_goose (Post 2225971)
Very cool mod :)

I created my first page, with a custom theme... but it doesn't seem to be recognizing that I'm logged in when I view it -- at least, not completely. The permissions/display are correct, but the header login reappears. What am I doing wrong?

Fixed!

StudentCreche 08-08-2011 09:44 PM

Quote:

Originally Posted by Logician (Post 2143443)
So it seems that if you move the style code in header_bottom to your headinclude template it should work. Have you tried that?

Thankyou!!!

halkum 09-25-2011 09:06 AM

Okay so I'm working on this for a friend. We upgraded from well back on 3.5 VB to the most recent. In doing so his templates seem to exist, but all content (the part you'd see if you hit the edit link) is not showing up at all, despite being there.

I know the templating system changed greatly with the 4.0 framework, but would anybody have an idea to how to fix this? All steps were followed for the upgrade process. At the moment we're working in the default style for VB so that the web template system takes full hold.

It's odd that this upgrade resulted this way while my other site I run is working all fine and dandy with the latest VB and web Templates.

-Spike

Logician 09-25-2011 03:29 PM

Quote:

Originally Posted by halkum (Post 2249844)
Okay so I'm working on this for a friend. We upgraded from well back on 3.5 VB to the most recent. In doing so his templates seem to exist, but all content (the part you'd see if you hit the edit link) is not showing up at all, despite being there.

I know the templating system changed greatly with the 4.0 framework, but would anybody have an idea to how to fix this? All steps were followed for the upgrade process. At the moment we're working in the default style for VB so that the web template system takes full hold.

It's odd that this upgrade resulted this way while my other site I run is working all fine and dandy with the latest VB and web Templates.

-Spike

Have you followed the instructions in document "UPGRADE FROM VERSION 3.x.TXT"?

halkum 09-25-2011 07:01 PM

Yep. That's what's odd. Followed them to a 'T'. Overwrite was marked for installing the web templates and query file. So the hundreds of custom made ones in 3.x still exist in full form, just simply are not showing their content, despite it clearly being there.
Example: http://www.thespoils.com/spoils/view.php?pg=tournaments
All content of the template is there (images/side banners), the data that goes in the center white space is there but not showing regardless what's done.

I'm sure I'm missing something but brain dead here.

Absolutely love WebTemplates though. Wish it was in VB from the start :D

SarahScott 09-25-2011 10:06 PM

It is a wonderful addon. However i pay all my scripts and addons to be brand free.
Because with all the addons i would have like 50 advertisement lines under my page,
that ain't going to happen. I am willing to use this addon, if i have the option to pay
for a brand free version. But since i can't, i have to uninstall it until a solution comes.
I'll never tolerate any advertisement of any kind at my website,
alltho i'm happy to pay you a fee to thank you for creating the mod,
with the return of a brand free version.
My website has been made for charity for good purpose about different things.

Thank you

8thos 09-26-2011 12:30 AM

Zynga Facebook Games using WebTemplates: https://vborg.vbsupport.ru/showthread.php?p=2250076

halkum 09-26-2011 05:25 AM

Tried a complete re-upgrade attempt with the templates. Still same issue tho as seen on the tournaments link above. He's got around 200+ existing pages done, all of which are doing the same thing. Otherwise I'd start it from scratch.

Anybody have any ideas to what could cause it?

Logician 09-26-2011 07:19 AM

Quote:

Originally Posted by halkum (Post 2250000)
Yep. That's what's odd. Followed them to a 'T'. Overwrite was marked for installing the web templates and query file. So the hundreds of custom made ones in 3.x still exist in full form, just simply are not showing their content, despite it clearly being there.
Example: http://www.thespoils.com/spoils/view.php?pg=tournaments
All content of the template is there (images/side banners), the data that goes in the center white space is there but not showing regardless what's done.

I'm sure I'm missing something but brain dead here.

Absolutely love WebTemplates though. Wish it was in VB from the start :D

I believe that this page (pg=tournaments) is using a custom webtemplate theme and you probably did not edit this theme to comply with vb4.x template syntax.

Please see which theme this webtemplate is using in edit webtemplate page, and then edit this very theme and make sure its HTML syntax is compatible with vb4.x.

I strongly believe this is the problem but let me know if this is not the case (eg. if this webtemplate is not using a theme)

Logician 09-26-2011 07:22 AM

Quote:

Originally Posted by SarahScott (Post 2250056)
It is a wonderful addon. However i pay all my scripts and addons to be brand free.
Because with all the addons i would have like 50 advertisement lines under my page,
that ain't going to happen. I am willing to use this addon, if i have the option to pay
for a brand free version. But since i can't, i have to uninstall it until a solution comes.
I'll never tolerate any advertisement of any kind at my website,
alltho i'm happy to pay you a fee to thank you for creating the mod,
with the return of a brand free version.
My website has been made for charity for good purpose about different things.

As a thank you gesture, I provide ALL donators with instructions to remove powered by tagline regardless of the donation amount they made.

halkum 09-26-2011 08:37 AM

Hmm, you could be right. Let me check on that in the morning :) - I didn't start on this site so haven't a clue what all adjustments were made . I just know it took a LONG time to upgrade them to the current vb4 a few days ago :D

Thanks! - I'll check back later.

SpikedRocker 09-26-2011 10:08 PM

I'm having some issues using this. I installed this for the first time and worked my way through the instructions without problems. When I went to follow the how to create your first one, it said something about headers and footers, this didn't show on my backend. When completed my script it spit out a blank html page. So I just did a plain php script of print 'Hello World.'; and it just spit that out, no other forum elements or anything, it looks as if my vB stuff is getting lost somewhere. Heres the page of hello world: http://www.tns-gaming.com/forum/view.php?pg=expenses

Any thoughts?

Logician 09-27-2011 04:37 AM

Quote:

Originally Posted by SpikedRocker (Post 2250363)
it said something about headers and footers, this didn't show on my backend.

What exactly did it say?

Lostboyfan 09-27-2011 07:50 PM

Tagged for later.

SpikedRocker 09-27-2011 11:16 PM

Quote:

Originally Posted by Logician (Post 2250448)
What exactly did it say?

From the top,

WebTemplate Name
User Friendly Name
Category
Parse Method
Using a Theme?
Template
Search in Template
Display and SEO
-Meta Keywords
-Meta Discription
Page Security
-The stuff that allows me to select usergroups
Misc
-Page Visits
-Logging things
Advanced Features
-WebQueries
-PHP Include
The the date stuff

No where in my template/page creation is the header and footer stuff.

Logician 09-28-2011 06:43 AM

Quote:

Originally Posted by SpikedRocker (Post 2250717)

No where in my template/page creation is the header and footer stuff.

It is ok, 4.x version does not have a special header/footer section, it automatically inherits the active style's header footer for WTs.

SpikedRocker 09-28-2011 07:46 PM

Ok, one thing I didn't take into account for is vB's CMS. The guy that holds our vB licence wants to use it for another project, we are purchasing our own now. Would testing this on a Suite vB cause errors?

halkum 09-28-2011 08:11 PM

Hello Logician,
You were spot on. The existing themes ( a ton ) had to be altered into the right format for vb4 from 3. Once that was done, it started to work on those other pages.
Still got CSS issues, and the forum isn't applied to the theme, but those aren't specific to this mod.
Thanks for the assist!
-Spike

Logician 09-29-2011 05:44 AM

Quote:

Originally Posted by SpikedRocker (Post 2251031)
Ok, one thing I didn't take into account for is vB's CMS. The guy that holds our vB licence wants to use it for another project, we are purchasing our own now. Would testing this on a Suite vB cause errors?

vb CMS and Webtemplates are seperate pluggins and they will live fine together provided that you don't try to combine them somehow (eg. try to display a webtemplate inside a CMS page etc.)

brandon515 10-03-2011 04:52 PM

Thanks for this...worked for me too!

Quote:

Originally Posted by zelnik (Post 2212084)
Fixed... For anyone using completevb vb4 styles you will need to install the seperate CSS XML file and it will work fine!


halkum 10-03-2011 11:16 PM

Logician,
Question for you. With the changes from Vb3 to 4, are there any requirements to get the php code in the php includes section on the bottom of the web templates editor (html template, not php), to call out properly on the page?

Example, $rnd_navbar used to output a php powered navbar using css, but now it's nothing. Php code is still same as it was for VB3.

I've tried the method of registering the variables as described on a KB article here, but no luck.

Curious if you had any suggestions?

halkum 10-06-2011 11:21 PM

Thought I had it fixed with the well written guide at vbteam but it still wasn't working.

So in a html or txt template, if you have php code in the include (worked in vb3 no issue), and call the variables of the function in the template code itself... it doesn't work. According to VB4 info you have to register these variables first as a template or something.

Anybody have any really helpful information on this? I just have a few pages with custom php code in it for a navigation bar/graphic setup that needs to work on the vb4 templates now. :)

Gamelobby 01-11-2012 12:52 AM

Seems like this would be a common question, but i dont see it anywhere..

Can you apply a different style to a webtemplate.? (not theme, but style) I see in the first entry in the description it says you can apply permissions, styles, etc but im not sure if that means different from the boards default.
Quote:

Webtemplate is a HTML (or php) page. It is different than your other HTML pages in that you can create them in your vbulletin admin cp and you can integrate them with your vbulletin like applying them vb permissions, styles etc.
Or would i have to create a new "Theme" to use a different style.?
Jeez, that sounds confusing. lol

Thanks :)

Logician 01-11-2012 08:37 AM

Quote:

Originally Posted by Gamelobby (Post 2286295)
Seems like this would be a common question, but i dont see it anywhere..

Can you apply a different style to a webtemplate.? (not theme, but style) I see in the first entry in the description it says you can apply permissions, styles, etc but im not sure if that means different from the boards default.

Or would i have to create a new "Theme" to use a different style.?
Jeez, that sounds confusing. lol

Thanks :)

Not really but forcing a webtemplate to use a specific style can be possible by using a code like this in webtemplate's phpinclude section:

PHP Code:

    $styleid 8;
    
$vbulletin->userinfo['styleid'] = $styleid;
    
$userselect true;

$style $db->query_first_slave("
        SELECT *
        FROM " 
TABLE_PREFIX "style
        WHERE styleid = '
$styleid'
            
        
        LIMIT 1
    "
);
        
$templater vB_Template::create('headinclude');
            
$templater->register('foruminfo'$foruminfo);
            
$templater->register('pagenumber'$pagenumber);
            
$templater->register('style'$style);
            
$templater->register('basepath'$vbulletin->input->fetch_basepath());
        
$headinclude $templater->render();

        
$templater vB_Template::create('header');
            
$templater->register('ad_location'$ad_location);
            
$templater->register('pmbox'$pmbox);
            
$templater->register('notifications_menubits'$notifications_menubits);
            
$templater->register('notifications_total'$notifications_total);
            
$templater->register('notices'$notices);
            
$templater->register('facebook_header'$facebook_header);
        
$header $templater->render();

        
$templater vB_Template::create('footer');
            
$templater->register('admincpdir'$admincpdir);
            
$templater->register('ad_location'$ad_location);
            
$templater->register('cronimage'$cronimage);
            
$templater->register('languagechooserbits'$languagechooserbits);
            
$templater->register('modcpdir'$modcpdir);
            
$templater->register('quickchooserbits'$quickchooserbits);
            
$templater->register('template_hook'$template_hook);
            
$templater->register('facebook_footer'$facebook_footer);
        
$footer $templater->render(); 

I didn't test it, it might require tweaks.

Gamelobby 01-11-2012 06:38 PM

I'm not the best with "tweaks" lol
But i can add a style id. :)

Where would this code go..?

Logician 01-11-2012 07:47 PM

Quote:

Originally Posted by Gamelobby (Post 2286643)
I'm not the best with "tweaks" lol
But i can add a style id. :)

Where would this code go..?

PHP Include section of the webtemplate that you want to apply the custom theme.

CappingTheGame 01-12-2012 08:08 AM

I am getting a blank, white screen in Admin CP when trying to import:

webtemplate_export.xml

Actually, all of the options under that category on the left result in a full, blank white screen. I uploaded and double-checked all files accordingly. Thoughts?


All times are GMT. The time now is 08:01 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.04541 seconds
  • Memory Usage 1,879KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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