Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
Details »»

Version: , by NanoEntity NanoEntity is offline
Developer Last Online: Mar 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-04-2001 Last Update: Never Installs: 2
 
No support by the author.

PHP Code:
// #######################################
            
TEMPLATE.VIEW.MOD
// #######################################
// #
// # NanoEntity 
// #                                   
// # Template.View.Mod
// # Version: 2.2.0                    
// # Created: 11/05/2001                                               
// #
// #######################################
// #
// # COPYRIGHT NOTICE:
// #
// # ?Copyright 2001, HOLOLITH.COM.
// # All Rights Reserved.
// #
// # Selling the code for this script
// # without prior written consent is
// # expressly forbidden. In all cases
// # copyright and header must remain intact.
// #
// #######################################

          
admin/template.php FireFly

// #######################################
Look In ### Start edit ###>>
// #######################################

makehiddencode("group""$group");

// #######################################
Above Add>>
// #######################################

  
makeyesnocode("Return?","return",1);

// #######################################
Look>>
// #######################################

  
echo "<p>Done!</p>";
  
$action="modify";
  
$expandset=$templatesetid;
}

// #######################################
Replace>>
// #######################################

    
echo "<p>Done!</p>";
  if (
$return) {
    
$action="edit";
  } else {
    
$action="modify";
    
$expandset=$templatesetid;
  }
}

// #######################################
Look And Move>>
// #######################################

// ###################### Start do update #######################
if ($HTTP_POST_VARS['action']=="doupdate") {
  
// a few lines of code here
    
$expandset=$templatesetid;
  }
}

// #######################################
Before This>>
// #######################################

// ###################### Start edit #######################
if ($action=="edit") {

// #######################################

          
forumdisply.php NanoEntity

// #######################################
Look>>
// #######################################

          
while ( list($mkey2,$moderator)=each($imodcache["$mval1"]) ) {
            if ( !isset(
$forum['moderators']) ) {
              eval(
"\$forum['moderators'] = \"".gettemplate('forumhome_moderator')."\";");
            } else {
              eval(
"\$forum['moderators'] .= \", ".gettemplate('forumhome_moderator')."\";");
            }

// #######################################
Replace With>>
// #######################################

          
while ( list($mkey2,$moderator)=each($imodcache["$mval1"]) ) {
            if ( !isset(
$forum['moderators']) ) {
              eval(
"\$forum['moderators'] = \"&nbsp; - [Moderated by: ".gettemplate('forumhome_moderator')."\";");
            } else {
              eval(
"\$forum['moderators'] .= \", ".gettemplate('forumhome_moderator')."] \";");
            }

// #######################################

Template
forumdisplay_forumbit_level1_post
&
forumdisplay_forumbit_level2_post

// #######################################
Replace With>>
// #######################################

<tr align="center">
    <
td bgcolor="{secondaltcolor}" valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
    <
td bgcolor="{firstaltcolor}" align="left"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><class="links">$forum[title]</b></normalfont></a>
    <
br><smallfont>$forum[description]</smallfont>
                <
br><smallfont>$forum[moderators] - [<a href="newthread.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><i><b>new thread</b></i></a>]</smallfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont class="links">$forum[replycount]</normalfont></td>
    <
td bgcolor="{firstaltcolor}"><normalfont class="links">$forum[threadcount]</normalfont></td>
    <
td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
</
tr>


// ####################################### 

Show Your Support

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

Comments
  #2  
Old 11-05-2001, 06:34 PM
NanoEntity NanoEntity is offline
 
Join Date: Oct 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

demo
Reply With Quote
  #3  
Old 11-05-2001, 06:34 PM
NanoEntity NanoEntity is offline
 
Join Date: Oct 2001
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

demo2
Reply With Quote
  #4  
Old 11-07-2001, 10:51 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does this do...?

Would you mind removing the code from your post and leaving it in the attachment only?
Reply With Quote
Reply

Thread Tools

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 03:56 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.03749 seconds
  • Memory Usage 2,264KB
  • Queries Executed 17 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete