View Single Post
 
Old 08-16-2004, 02:10 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KW802
What would the installation instructions be for somebody who only wants to use it as a vBa CMPS module? Would it just be a matter of skipping steps #4a and #5 or .... ?

Thanks,
Kevin
For anybody else in the same position as above, the steps I took/had to take on a VB 3.0.3 & vBadvanced CMPS 1.0.0 configuration were....
  • Do Step #1 from the installation instructions
  • Do Step #2 from the installation instructions
  • Do Step #3 from the installation instructions
  • Do Step #4b from the installation instructions
  • Do Step #6 from the installation instructions
  • Upload the PHP file from Nineball
  • Do the phrase manager trick by Platinumgamer
  • Modified the randomquote template to the look & feel of the rest of my generic vBa CMPS modules (essentially give it the outside border but not on the inside cells; accomplished by doing an inner table)....
    Code:
    <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
    <thead>
    	<tr>
    	 <td class="tcat" colspan="2">
    		<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_randomquote')">
    		 <img id="collapseimg_forumhome_randomquote" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_randomquote].gif" alt="" border="0" />
    		</a>
    		$vbphrase[random_quote]
    	 </td>
    	</tr>
    </thead>
    <tbody id="collapseobj_forumhome_randomquote" style="$vbcollapse[collapseobj_forumhome_randomquote]">
    	<tr>
    	 <td class="alt1">
    		<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
    		 <tr>
    			<td class="alt1" align="left" colspan="2">
    			 <i>"$randomquote[quote]"</i>
    			</td>
    		 </tr>
    		 <tr>
    			<td class="alt1 smallfont" align="left">
    			 <if condition="$bbuserinfo['userid']">(<a href=$vboptions[bburl]/quotes.php?do=addquote>$vbphrase[add_a_quote]</a><if condition="$bbuserinfo['permissions']['adminpermissions']"> | <a href="$vboptions[bburl]/quotes.php?do=delquote&quoteid=$randomquote[quoteid]">$vbphrase[delete_this_quote]</a></if> | <a href="$vboptions[bburl]/quotes.php?do=list">$vbphrase[view_all_quotes]</a>)</if>
    			</td>
    		 <td class="alt1" align="right">
    			 - <b>$randomquote[author]</b>
    			</td>
    		 </tr>
    		</table>
    	 </td>
    	</tr>
    </tbody>
    </table>
    <br />
I need to tweak the rest of the templates yet but that's minor. The above should only take about 10-15 minutes to get you up & running with vBa CMPS.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01326 seconds
  • Memory Usage 1,775KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete