vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

arracing 02-19-2003 10:31 PM

i messed around with it a bit and got it to work, i guess i had saved it in rich file format so it wasnt working. I saved it another way and it did.

thx Plur, i might have a question or 2 if i cant figure something out so i will just post it here.

arracing 02-19-2003 10:32 PM

how can i group all those new templates i am making into 1 folder?

arracing 02-19-2003 10:37 PM

what does this stuff mean

<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->

arracing 02-19-2003 10:38 PM

also i cannot get the $index_footer
to be shown outside the table in the blue background area.

arracing 02-19-2003 10:46 PM

also why did the poll section where it asks the question turn purple after i did this hack?

Tigga 02-19-2003 11:46 PM

Quote:

how can i group all those new templates i am making into 1 folder?
I'm assuming you mean to group them together like the myvbindex templates and default forum ones, right? To do that you would have to make sure you give each one of your new templates a suffix, something like "mytemplates_aboutus". Then you would need to edit your admin/template.php file and look for:
$only['index'] = 'mYvBindex';

Right below that add:
$only['mytemplates'] = 'Name Of Group';

Just change "mytemplates" in that code to the suffix you gave them, and Name of Group to whatever you want the heading in the template set to say.

Then you would need to find each template in phpMyAdmin and change it's templatesetid to -1.


Quote:

what does this stuff mean

<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
Those are meta tags incase you have "Add No-cache headers" enabled in your admin options. They should be at the top of most of your forum's pages.

Quote:

also i cannot get the $index_footer
to be shown outside the table in the blue background area
You should be able to change where it's displayed by moving the $index_footer variable before or after the table in the new templates you added.

Quote:

also why did the poll section where it asks the question turn purple after i did this hack?
I just checked it and it looked fine to me, so I'm assuming you figured it out...

arracing 02-19-2003 11:52 PM

i tried moving the $index_footer to differnt spots but it wasnt coming out at the bottom. It works on the main index page but not when i click a link like about us. I ended up removing it from those templates but I really want to use it because it has the vb copyrights and my copyrights in it.

Tigga 02-20-2003 12:01 AM

You should be able to get it to display at the bottom if the structure for the tables is right... You could try adding </td></tr></table> again right before $index_footer incase there's a table that wasn't ended somewhere.

arracing 02-20-2003 12:07 AM

i did all that stuff to group the templates together and i got this error when trying to refresh the admin control panel

Warning: Unknown MySQL Server Host 'db0.tyva.netherweb.com' (1) in /home/share/b/ar-racing/public_html/forums/admin/db_mysql.php on line 40

Warning: MySQL Connection Failed: Unknown MySQL Server Host 'db0.tyva.netherweb.com' (1) in /home/share/b/ar-racing/public_html/forums/admin/db_mysql.php on line 40

arracing 02-20-2003 12:09 AM

i refreshed again and it worked. I wish their was a way that when you add a new template it asks you what category you want it under so i dont have to keep going into my phpadmin and searching for it.


All times are GMT. The time now is 04:20 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.02054 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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