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)

Logician 01-12-2012 08:46 AM

Quote:

Originally Posted by CappingTheGame (Post 2286845)
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?

In product manage, you are importing the file "product-webtemplates.xml" and after hack is installed you are importing "webtemplate_export.xml" in webtemplate import/export section right?

Quote:

STEP 2- Login Admin CP/Product Manager/Add-Import Product/ -> Tick "Allow Overwrite" and Import the file named "product-webtemplates.xml"
(There are 2 XML files, please make sure you import the file named "product-webtemplates.xml"!)
(This steps installs webtemplates templates, phrases, settings to your vbulletin)



CappingTheGame 01-12-2012 05:22 PM

That is correct. I made sure I was importing the correct XML file in Admin. First the product-, then the _export.

Just getting a full blank, white screen with no options. Really strange.

CappingTheGame 01-12-2012 05:24 PM

I can't even get to the Export Import area though on the expand/collapse list. I know I need to upload that file there, but again just a blank white screen for somoe reason.

Any helps appreciated.

CappingTheGame 01-12-2012 05:29 PM

4.1.9 BTW. Not sure if that matters.

Logician 01-12-2012 05:42 PM

Is this a fresh install (of webtemplates)? I believe you already tried, uninstalling/reinstalling the product?

If nothing helps, give me admin cp and ftp access to your site and let me check.

CappingTheGame 01-12-2012 05:47 PM

Yes, fresh install. I did try uninstalling/reinstalling.

PMing you info.

Gamelobby 01-13-2012 08:54 AM

Quote:

Originally Posted by Logician (Post 2286438)
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.

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..?

Quote:

Originally Posted by Logician (Post 2286668)
PHP Include section of the webtemplate that you want to apply the custom theme.

Soooo, It kind of worked.. what tweaks might you suggest..?

Most of it looks good except:
Logo & search button color (both are default skin)

I'm guessing since these are both part of the header, that is what i should be looking for, or to add/change.?

Thanks

Logician 01-13-2012 09:04 AM

Quote:

Originally Posted by CappingTheGame (Post 2286996)
Yes, fresh install. I did try uninstalling/reinstalling.

PMing you info.

Your problem was:

You uploaded wt_wt.php, wt_wq.php, wt_export.php files in your /admincp/ folder but you are not using this folder as your admincp. You have a custom folder set up in config.php for admincp. So you should upload these files there.

I've fixed the problem for you.

CappingTheGame 01-13-2012 01:20 PM

I appreciate the help, thanks.

Gamelobby 01-14-2012 01:31 AM

Quote:

Originally Posted by Gamelobby (Post 2287213)
Soooo, It kind of worked.. what tweaks might you suggest..?

Most of it looks good except:
Logo & search button color (both are default skin)

I'm guessing since these are both part of the header, that is what i should be looking for, or to add/change.?

Thanks

Any thoughts on this.? :)


All times are GMT. The time now is 11:21 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.01418 seconds
  • Memory Usage 1,771KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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