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)
-   -   Template Manager 0.6 (https://vborg.vbsupport.ru/showthread.php?t=91038)

lazorde 07-16-2005 07:57 PM

hi

ihave error

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 769

to Upload Plugins

Dream 07-16-2005 07:59 PM

cpnav_ctm.xml is not a plugin, you upload it to "includes/xml" folder

lazorde 07-16-2005 08:04 PM

aha

isee

ok thanku

TTG 07-16-2005 08:05 PM

Excellent .. this will prove to be very valuable with all the updates due soon.

Dream 07-17-2005 05:57 PM

updated 0.6

- fixed bug when importing templates with a xml file, templates were being created with empty content

xxskullxx 07-17-2005 07:27 PM

Nice work. I was about to report the bug to here, but saw you already fixed it :)

This has been great for deleting 200+ custom templates from 3.07 that I'm no longer using.

FD929 07-30-2005 04:58 PM

I've got RC1 running and get numerous database errors and to be expected. The script is not calling my database. Is this a quick fix edit to the php file or do we need to wait for a re-write?

thanks, :)

Database error in vBulletin 3.5.0 Release Candidate 1:

Invalid SQL:
SELECT title, template_un FROM template
WHERE templateid = 6564 ORDER BY title;

MySQL Error : Table 'riders_vb.template' doesn't exist
Error Number : 1146
Date : Saturday, July 30th 2005 @ 12:56:19 PM
Script : /admincp/custom_template_manager.php
Referrer : /admincp/custom_template_manager.php

Username : FD929
Classname : vb_database

Dream 08-01-2005 01:57 AM

hey, ill have to look this script to comply with RC1 changes, tho im thinking in doing that when 3.5 is gold...

anyway some basic operations like viewing templates and exporting are working for me, what exactly were you trying to do?

FD929 08-01-2005 02:21 PM

On attempting to copy all templates from one style to another I get:

Database error in vBulletin 3.5.0 Release Candidate 1:

Invalid SQL:
SELECT title, template_un FROM template
WHERE templateid = 5379 OR templateid = 5181 OR templateid = 5380 OR templateid = 5241 OR templateid = 4722 OR templateid = 6566 OR templateid = 4124 OR templateid = 4721 OR templateid = 4243 OR templateid = 4242 OR templateid = 4241 OR templateid = 4724 OR templateid = 4727 OR templateid = 4725 OR templateid = 4726 OR templateid = 4078 OR templateid = 5492 OR templateid = 4244 OR templateid = 6594 OR templateid = 6565 OR templateid = 6564 OR templateid = 6563 OR templateid = 6556 OR templateid = 6593 OR templateid = 6592 ORDER BY title;

MySQL Error : Table 'riders_vb.template' doesn't exist
Error Number : 1146
Date : Monday, August 1st 2005 @ 10:18:54 AM
Script : /admincp/custom_template_manager.php
Referrer : /admincp/custom_template_manager.php

Username : FD929
Classname : vb_database

1 thing is that my table prefix is vb3_ not riders_vb

Dream 08-01-2005 04:42 PM

I forgot to add the table prefix to that query :/

ill fix that in the next version, you can edit the php, find

Code:

        $sql = 'SELECT title, template_un FROM template
WHERE templateid = '.$ors.' ORDER BY title';

replace for

Code:

        $sql = 'SELECT title, template_un FROM ' . TABLE_PREFIX . 'template
WHERE templateid = '.$ors.' ORDER BY title';



All times are GMT. The time now is 10:39 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.01161 seconds
  • Memory Usage 1,732KB
  • 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_code_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
  • (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