Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Template Manager 0.6 Details »»
Template Manager 0.6
Version: 0.7, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 06-24-2005 Last Update: 01-14-2006 Installs: 160
Re-useable Code Additional Files  
No support by the author.

Description
- Import / Export templates using XML files
- Copy / Delete multiple templates
- View / Save / Delete templates in history
- Download templates installation file

Installation
- Upload custom_template_manager.php to your admincp folder
- Upload cpnav_ctm.xml to your includes/xml folder

Reload your AdminCP, its below "Styles & Templates"

Enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-16-2005, 07:57 PM
lazorde lazorde is offline
 
Join Date: Jul 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi

ihave error

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

to Upload Plugins
Reply With Quote
  #23  
Old 07-16-2005, 07:59 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cpnav_ctm.xml is not a plugin, you upload it to "includes/xml" folder
Reply With Quote
  #24  
Old 07-16-2005, 08:04 PM
lazorde lazorde is offline
 
Join Date: Jul 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aha

isee

ok thanku
Reply With Quote
  #25  
Old 07-16-2005, 08:05 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent .. this will prove to be very valuable with all the updates due soon.
Reply With Quote
  #26  
Old 07-17-2005, 05:57 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated 0.6

- fixed bug when importing templates with a xml file, templates were being created with empty content
Reply With Quote
  #27  
Old 07-17-2005, 07:27 PM
xxskullxx xxskullxx is offline
 
Join Date: Jun 2002
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 07-30-2005, 04:58 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #29  
Old 08-01-2005, 01:57 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #30  
Old 08-01-2005, 02:21 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #31  
Old 08-01-2005, 04:42 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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';
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06023 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete