vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Albums II (Cloning the albums feature) (https://vborg.vbsupport.ru/showthread.php?t=225341)

Warlord 10-16-2009 01:43 AM

Albums II (Cloning the albums feature)
 
I'd like to clone the albums feature that comes standard in vBulletin 3.7+. My reasoning behind this is wanting to be able to edit the cloned version of it to see if I can create a webcomic section based off of it. Is there an easy way to clone this feature of the software and just give it a different name?

I've tried copying the following tables, making sure to keep the keys and indexes the same.

album
albumpicture
albumupdate
picture
picturecomment_hash

I also copied the albums.php file and have started copying templates that have album in their name. I changed the table names as well as a few of the table columns and edited the php file to reflect the changes. The few templates I've created also reflect the changes made.

This is a very long process though and I'm thinking there has to be an easier way to do this? I don't consider myself a great coder or anything and I don't even know if what I'm doing is going to even work... it's a lot of work for just hoping what I'm doing will work.

Is there an easier way to clone a feature like this and I'm just unaware of it?


All times are GMT. The time now is 03:50 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.01083 seconds
  • Memory Usage 1,702KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete