vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Toplist Template Rewrite v0.1 (Beta) (https://vborg.vbsupport.ru/showthread.php?t=112782)

King Kovifor 04-11-2006 10:00 PM

Toplist Template Rewrite v0.1 (Beta)
 
I gained permission to do this add on. It's version 0.1 as it's only got one of the templates redone. I'll be releasing them as they go. Please use at your own risk, even though most of these template should work.

Add Site Form

Rewrite Features/Optimization:
  • Category Listing Has a tag.
  • All Tags (Site URL: for example) are now starting at the same point.
  • All Options (example: the site URL box...) start at the same point.

Installation of this particular rewrite.

To install the rewrite please go to your administrator control panel and open the template called Toplist_Add_Site_Form. Replace all the content of that template with this:

HTML Code:

  <table width="100%" border="0" cellpadding="5" cellspacing="0">
<form action="add_site.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="do" value="add" />
<input type="hidden" name="MAX_FILE_SIZE" value="$vboptions[toplist_max_image_size]" />
    <tr>
                <td align="left" valign="top">
                        $vbphrase[toplist_site_name]:
                </td>
                <td align="left">
                        <input type="text" class="bginput" name="sitename" size="30" />
                </td>
        </tr>
        <tr>
                <td align="left" valign="top">
                        $vbphrase[toplist_site_url]:
                </td>
                <td align="left">
                        <input type="text" class="bginput" name="url" size="30" />
                </td>
        </tr>
        <tr>
                <td align="left" valign="top">
                        $vbphrase[toplist_description]:
                </td>
                <td align="left">
                        <textarea name="description" rows="4" cols="30"></textarea>
                </td>
        </tr>
        <tr>
                <td align="left" valign="top">
                        $vbphrase[toplist_image]:
                </td>
                <td align="left">
                        <input type="file" class="bginput" name="image" size="30" />
                </td>
        </tr>
        <tr>
                <td align="left" valign="top">
                        $vbphrase[toplist_category]:
                </td>
                <td align="left">
                        <select name="category">
                        <optgroup label="Categories">
                        $cat_list
                        </optgroup>
                        </select>
                </td>
        </tr>
        </table>
  <table width="100%" border="0" cellpadding="5" cellspacing="0">
                        <center><input type="submit" class="button" value="$vbphrase[toplist_add_site]" /> <input type="reset" class="button" value="$vbphrase[toplist_reset]" /></form></center>
  </table>

Screenshots:
https://vborg.vbsupport.ru/showpost....96&postcount=4

This is the only template that I have rewritten. The "Category" tag phrase may be wrong. If you have troubles with it try the following phrase: toplist_categories. Any other problems with the template, post. Please specify in the original thread that you have at least one of my templates installed for support. I will give support for my templates here.

ThePimp 04-11-2006 11:30 PM

screenshot?

King Kovifor 04-11-2006 11:32 PM

Well, as I don't have the toplist installed, I'm just working with pure templates (xml file has them, I just removed them). If you'd like to be a huge help and install it and take a screen shot, It'd be great!

Ramsesx 04-12-2006 01:26 AM

Looks nice, thank you.

Snake 04-13-2006 01:37 PM

Man this is awesome. Thanks!

Surviver 04-14-2006 05:01 AM

Thank you very much :)

Danke !

mfg Surviver

King Kovifor 04-14-2006 10:40 AM

Please remember to hit install on everything!


All times are GMT. The time now is 04:42 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.00922 seconds
  • Memory Usage 1,737KB
  • 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)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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