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)

preemz10314 04-30-2011 12:20 PM

So I installed this smoothly but when I get to "Using a Theme?" I do not have any other option other then "No parent template, This is an independent webemplate" I do not have an option to choose my default theme...So it just shows up "as is" not inherting my forum theme...

http://digitalbrass.com/view.php?pg=aboutus

I just do not have anything under "using a theme?" other then "No parent template"....

Please help, thanks alot.

Logician 04-30-2011 01:01 PM

Quote:

Originally Posted by preemz10314 (Post 2190322)
So I installed this smoothly but when I get to "Using a Theme?" I do not have any other option other then "No parent template, This is an independent webemplate" I do not have an option to choose my default theme...So it just shows up "as is" not inherting my forum theme...

http://digitalbrass.com/view.php?pg=aboutus

I just do not have anything under "using a theme?" other then "No parent template"....

Please help, thanks alot.

You missed STEP 3.

preemz10314 04-30-2011 01:27 PM

Thanks logician. You were correct. I am pretty sure alot of us are missing step 3 because, we are assuming it just says to upload the .xml and missing the rest... I think it is because our screen settings are cutting off the end of step 3 when viewing in notepad.. and we are just not scrolling all the way over to read. Regardless I did what you said and got it working.

However just one last question and then I wont bother you anymore...I will also donate.

http://www.digitalbrass.com/view.php?pg=aboutdigital is the test page I created. It is throwing off the navbar making it off center.. and moving the header image to the left when it should be center.

as shown here http://digitalbrass.com can you help me correct this? I am willing to PM you login details if you have some time and patience. Regardless

Thanks again.

Logician 05-01-2011 08:22 AM

Quote:

Originally Posted by preemz10314 (Post 2190332)
Thanks logician. You were correct. I am pretty sure alot of us are missing step 3 because, we are assuming it just says to upload the .xml and missing the rest... I think it is because our screen settings are cutting off the end of step 3 when viewing in notepad.. and we are just not scrolling all the way over to read. Regardless I did what you said and got it working.

However just one last question and then I wont bother you anymore...I will also donate.

http://www.digitalbrass.com/view.php?pg=aboutdigital is the test page I created. It is throwing off the navbar making it off center.. and moving the header image to the left when it should be center.

as shown here http://digitalbrass.com can you help me correct this? I am willing to PM you login details if you have some time and patience. Regardless

Thanks again.

Please pm me admin cp access (admin account you gave to me should have full permissions in admin cp) and let me check.

bilgin61 05-03-2011 07:48 PM

Teşekkür ederim

SirShaw 05-04-2011 11:55 PM

First off, great hack! Like many others, this is exactly what I was looking for.

I do however have a small problem.

my stats script for bf2 relies on variables attached to the url. each player has a different url to pull up stats.

for example:
player 44455101 would have a url such as:

http://www.knightsofkarbala.com/view...nput1=44455101

while player 44572383 would have a url as:

http://www.knightsofkarbala.com/view...nput1=44572383

ANYWAYS

onto my question here.

In order to get this to function properly, I need to set WebTemplates to PHP mode. The script then works as intended but is missing the vbulletin header and footer. I looked at a post a few pages back here which Logician, you suggested using an iframe. I did this and the script simply just loaded whenever a user inputed his player number/name on the main page. The script didnt grab his data.

I think I can get this to work with the vbulletin header and footer if in WebTemplates we were allowed to use both HTML and PHP at the same time within WebTemplates. I was trying to put the contents of the Default Basic Theme into the Template I was creating with the script code in it but all it outputs is a blank white screen.

If thats not possible, I was then wondering how to export the Default Basic Theme to include it in my script and have it load it that way.

thoughts?

Logician 05-05-2011 06:58 AM

Quote:

Originally Posted by SirShaw (Post 2191943)
my stats script for bf2 relies on variables attached to the url. each player has a different url to pull up stats.

You can give it a shot for these 2 methods:
1- Edit view.php, find
PHP Code:

$pg strtolower(trim($vbulletin->GPC['pg'])); 

after that add:
PHP Code:

    $vbulletin->input->clean_array_gpc('r', array(
        
'input1' =>TYPE_INT
    
));

$input1 strtolower(trim($vbulletin->GPC['input1'])); 

This should then allow you to use input1 variable in WT.

2- In php webtemplates, variables for header, footer, headinclude etc. are already compiles so I'd think just echo'ing them should work. Eg.

echo $header;
echo $headinclude;
echo $footer;

(I didn't test myself atm)

SirShaw 05-05-2011 02:40 PM

Quote:

Originally Posted by Logician (Post 2192106)

2- In php webtemplates, variables for header, footer, headinclude etc. are already compiles so I'd think just echo'ing them should work. Eg.

echo $header;
echo $headinclude;
echo $footer;

(I didn't test myself atm)

perfect! my script now works as intended :D

thanks again!

StudentCreche 06-16-2011 06:11 AM

Great hack! How do I make the pages more SEO friendly though? Google's not picking them up as well as the other pages... Furthermore, how do I sort my header out? On the other pages the header logo is centralised. However, on the webtemplate pages the header logo is on the left. So for instance...
Normal page: http://www.studentcreche.co.uk/forum.php
Webtemplate page: http://www.studentcreche.co.uk/view....=periodictable

Logician 06-16-2011 07:08 AM

Quote:

Originally Posted by StudentCreche (Post 2208375)
Great hack! How do I make the pages more SEO friendly though? Google's not picking them up as well as the other pages... Furthermore, how do I sort my header out? On the other pages the header logo is centralised. However, on the webtemplate pages the header logo is on the left. So for instance...
Normal page: http://www.studentcreche.co.uk/forum.php
Webtemplate page: http://www.studentcreche.co.uk/view....=periodictable

Please see SEO part of user manual. Yet I'd think that google should pick them well. I don't use SEO urls in my own board, and webtemplate pages ranks very high.


All times are GMT. The time now is 08:43 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.01325 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_php_printable
  • (5)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