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)

auz1111 10-21-2005 07:15 PM

thanks! this is awesome!

w00tworld 10-24-2005 12:31 PM

Does this actually work with 3.5.0 ?
Sorry to ask, but I am a little confused with all the beta and rc releases here, as it appears some work with 3.5.0 and some don't LOL.

Thanks

StarBuG 10-30-2005 05:46 PM

Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/custom_template_manager.php on line 520

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 1542

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 1556

I wanted to export all modified templates and got this after clicking Choose Templates

w00tworld 11-05-2005 09:13 PM

Quote:

Originally Posted by w00tworld
Does this actually work with 3.5.0 ?
Sorry to ask, but I am a little confused with all the beta and rc releases here, as it appears some work with 3.5.0 and some don't LOL.

Thanks


Please has anyone successfully installed this on 3.5.0 gold?

Synth 11-05-2005 10:02 PM

hasnt worked for me on gold yet, getting errors Failed to open stream

Hornstar 11-09-2005 11:13 PM

im getting this error

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT title, template_un FROM template
WHERE templateid = 16996 OR templateid = 16997 OR templateid = 16978 OR templateid = 16999 OR templateid = 16998 OR templateid = 17000 ORDER BY title;

MySQL Error : Table 'gamerzne_gamerzneeds.template' doesn't exist
Error Number : 1146

I know what the error is basically instead of from template it should be vb3_template for me

i'm using vb 3.5.1

What files and parts of files will i need to edit to fix this problem, thanks

King Kovifor 11-12-2005 07:44 PM

Question: Does it only work with YOUR hack to install the templates?

Hornstar 11-13-2005 05:21 AM

just wondering if anyone has an answer for mine, as I dont want to install any other skins until i get this working. Thanks

Hornstar 11-15-2005 08:57 PM

Its been a few days, thought someone would have been able to provide an answer for my question above...i really need this to work guys, some help would be kindly appreciated, thanks

Supes 11-26-2005 12:25 PM

Just installed on VB 3.5.1 and it works great!! What a fantastic hack, just used it to update my navbar to show the arcade link for all my skins. :D

cheech4487 11-26-2005 02:39 PM

Awesome job!!!
clicks install !

Hornstar 11-29-2005 09:18 AM

guess no one can fix my problem above, or does someone know how to fix it

Flow Fusion 11-29-2005 09:56 AM

This is a great addition. Thanks.

Hellcat 12-01-2005 09:40 AM

I just installed it into my 3.5.1 and it seems to work flawlessly.

This is just what I needed!
Great Addon!

divided_by_fear 12-10-2005 02:08 PM

i like the mod dont get me wrong but what would be nice to see is a check box next to each difference it found this way you can select which merges you want to install and which you dont... this way you can test each hack out as you merge it and so on... and it would also i think be more user friendly that way

AWI 12-11-2005 08:10 AM

Installed on 3.5.2, let me know if there is any update thanks :)

TheMusicMan 12-13-2005 09:50 PM

Am I missing something or is it not supposed to allow you to copy a modified template from an existing style to a new one?

Hellcat 12-13-2005 11:20 PM

Quote:

Originally Posted by TheMusicMan
Am I missing something or is it not supposed to allow you to copy a modified template from an existing style to a new one?

Hmm, I did that as well.
If it's a modified default template be sure to check "[action] vBulletin Default Templates" and enable "Allow overwrite".

I copied some of the modified default templates over to other styles, works like a charm :)

Yorixz 12-22-2005 01:55 PM

This hack seems to work correctly on vB 3.5.2 - the only (quite big) error I'm getting is that it can't find the table with the templates, which is correct because it's ignoring my prefix.

Does anyone know a way to solve this?

Edit:
Got it.

In line 1834 replace
Code:

        $sql = 'SELECT title, template_un FROM template
with
Code:

        $sql = 'SELECT title, template_un FROM " . TABLE_PREFIX . "template
Except for that place everywhere it's checked if you're using a prefix ;)

DJ XtAzY 12-30-2005 02:15 PM

im gettin this error when i have copy edited vb templates checked

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/custom_template_manager.php on line 1074

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 1542

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 1556

Xplorer4x4 12-31-2005 01:55 PM

Quote:

Originally Posted by Yorixz
This hack seems to work correctly on vB 3.5.2 - the only (quite big) error I'm getting is that it can't find the table with the templates, which is correct because it's ignoring my prefix.

Does anyone know a way to solve this?

Edit:
Got it.

In line 1834 replace
Code:

        $sql = 'SELECT title, template_un FROM template
with
Code:

        $sql = 'SELECT title, template_un FROM " . TABLE_PREFIX . "template
Except for that place everywhere it's checked if you're using a prefix ;)

Done and I still have the problem:
Database error in vBulletin 3.5.1:

PHP Code:

 Invalid SQL:
SELECT titletemplate_un FROM " . TABLE_PREFIX . "template
WHERE templateid 
388 ORDER BY title;

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '" . TABLE_PREFIX . "template
WHERE templateid = 388 ORDER BY tit
Error Number : 1064
Date         : Saturday, December 31st 2005 @ 04:40:42 PM
Script       : /Doms/admincp/custom_template_manager.php
Referrer     : /Doms/admincp/custom_template_manager.php
IP Address   : 
Username     : Xplorer4x4
Classname    : vb_database 


waza 12-31-2005 01:58 PM

".TABLE_PREFIX." should be with ' ' instead of " "
so replace that with ' . TABLE_PREFIX . '
and it will work

grz,
seba

Xplorer4x4 12-31-2005 02:06 PM

Quote:

Originally Posted by waza
".TABLE_PREFIX." should be with ' ' instead of " "
so replace that with ' . TABLE_PREFIX . '
and it will work

grz,
seba

Um can I can I get an example? Not quite understanding you. Sorry, and Thanks.

waza 01-01-2006 10:11 AM

k, srry

I guess you now have:
Quote:

$sql = 'SELECT title, template_un FROM " . TABLE_PREFIX . "template
Replace that with:
Quote:

$sql = 'SELECT title, template_un FROM ' . TABLE_PREFIX . 'template
so you see, the [" "] have been replaced with [' ']

grz,
seba

Snake 01-02-2006 11:31 AM

Nice but is this going to work on v3.5.2?

Xplorer4x4 01-02-2006 03:19 PM

Thanks wazza and i had no problems running this on 3.5.2.

Snake 01-02-2006 05:35 PM

Quote:

Originally Posted by Aftermath
Nice but is this going to work on v3.5.2?

Is there someone who is gonna answer back to my question?

Xplorer4x4 01-02-2006 05:37 PM

Read my post before yours......

https://vborg.vbsupport.ru/showpost....5&postcount=66

Snake 01-02-2006 05:59 PM

Whoa my bad. :D

evenmonkeys 01-03-2006 01:23 AM

Can this put templates into groups?

Snake 01-03-2006 11:50 AM

I guess so.

VBUsers 01-10-2006 09:10 AM

i get this error when i try to copy a template. can anyone help me out?

PHP Code:

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT titletemplate_un FROM template 
WHERE templateid 
8731 OR templateid 8525 OR templateid 8390 OR templateid 8526 OR templateid 8528 OR templateid 8527 OR templateid 8515 OR templateid 8513 OR templateid 8510 OR templateid 8508 OR templateid 8511 OR templateid 8507 OR templateid 8500 OR templateid 8509 OR templateid 8501 OR templateid 8514 OR templateid 8506 OR templateid 8503 OR templateid 8502 OR templateid 8516 OR templateid 8504 OR templateid 8512 OR templateid 8505 OR templateid 8524 ORDER BY title;

MySQL Error  Table 'smora_forum.template' doesn't exist
Error Number : 1146
Date         : Tuesday, January 10th 2006 @ 05:04:39 AM
Script       : [url]http://www.lowandloud.com/admincp/custom_template_manager.php[/url]
Referrer     : [url]http://www.lowandloud.com/admincp/custom_template_manager.php[/url]
IP Address   : 000000000000
Username     : LOW
Classname    : vb_database 


VBUsers 01-15-2006 05:59 AM

Quote:

Originally Posted by lowandloudinc
i get this error when i try to copy a template. can anyone help me out?

PHP Code:

Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT titletemplate_un FROM template 
WHERE templateid 
8731 OR templateid 8525 OR templateid 8390 OR templateid 8526 OR templateid 8528 OR templateid 8527 OR templateid 8515 OR templateid 8513 OR templateid 8510 OR templateid 8508 OR templateid 8511 OR templateid 8507 OR templateid 8500 OR templateid 8509 OR templateid 8501 OR templateid 8514 OR templateid 8506 OR templateid 8503 OR templateid 8502 OR templateid 8516 OR templateid 8504 OR templateid 8512 OR templateid 8505 OR templateid 8524 ORDER BY title;

MySQL Error  Table 'smora_forum.template' doesn't exist
Error Number : 1146
Date         : Tuesday, January 10th 2006 @ 05:04:39 AM
Script       : [url]http://www.lowandloud.com/admincp/custom_template_manager.php[/url]
Referrer     : [url]http://www.lowandloud.com/admincp/custom_template_manager.php[/url]
IP Address   : 000000000000
Username     : LOW
Classname    : vb_database 



can anyone help me out?

Xplorer4x4 01-15-2006 06:03 AM

<a href="https://vborg.vbsupport.ru/showpost.php?p=861687&postcount=64" target="_blank">https://vborg.vbsupport.ru/showp...7&postcount=64</a>
Try that

Dream 01-15-2006 06:17 AM

updated 0.7, added that last missing table prefix

VBUsers 01-15-2006 06:27 AM

hey explorer thanks for the help and dream the update did it thanks alot! much appreciated and you have saved me so much time!

bashy 01-15-2006 11:05 AM

Hi

I have installed this an all seams well until....

When trying to view template history i get this error

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 475

Any ideas?

gothicuser 01-15-2006 02:47 PM

Quote:

Originally Posted by bashy
Hi

I have installed this an all seams well until....

When trying to view template history i get this error

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 475

Any ideas?

Thats exactly what is happening here too. :tired:

StarBuG 01-17-2006 04:47 PM

I still get an error when I try to export edited templates with 0.7

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/custom_template_manager.php on line 520

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 1542

Warning: Invalid argument supplied for foreach() in /admincp/custom_template_manager.php on line 1556

Please help

EasyTarget 01-17-2006 06:22 PM

is this hack compatible with this one by kirby?
https://vborg.vbsupport.ru/showthread.php?t=102416


All times are GMT. The time now is 04:25 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.01299 seconds
  • Memory Usage 1,845KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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