View Single Post
  #163  
Old 08-21-2002, 11:57 AM
TeddyBare69 TeddyBare69 is offline
 
Join Date: Jun 2002
Location: CA, US
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To all you testers patiently waiting for me, I THANK YOU. I had some events going on that were definately not planned.

On the bright side, I have fixed what I believe to be all the bugs in the add on hacks. These bugs were caused only if you use vbhacker to install the additional features. Just to ensure no confusion, these bugs were due to my hack files not vbhacker. I believe in taking credit for good and bad. Below I have placed all the fixes for 3 out of the four addons. I didn't find any mistakes in the whosonline hack. If anybody else does please let me know.

Apok2002, Thanks for the screen shots! They helped a lot.

I am going to fix the hack files for any new installs. If you are not comfortable editing files and templates than you can also restore the files by copying the .bak file over the modified files and reverting back to original in the templates window. I will have the fixed hack files updated shortly and included with version 1.2.6.

Again thanks for your patience

To fix the color of the Edit Portfolio box in the user control panel menu
edit usercp.php
---- After the following line:
$cpnav[7]="{secondaltcolor}";
---- Add this line
$cpnav[8]="{secondaltcolor}";


To fix the memberlist table
edit memberlist template
---- Replace these lines
<td bgcolor="{tableheadbgcolor}" align="center"><td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}">
Attach</smallfont></td>
<smallfont color="{tableheadtextcolor}"><b>User Name</b></smallfont></td>
---- With these lines
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}">Attach</smallfont></td>
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>User Name</b></smallfont></td>
edit memberlistbit template
---- Before the following line:
<td bgcolor="{firstaltcolor}" align="left"><normalfont><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[useri
d]">$userinfo[username]</a></normalfont></td>
---- Add this line
<td bgcolor="{firstaltcolor}" align="left">$attachment</td>
edit member.php file
---- Before the following line

$frmjmpsel['usercp'] = "selected";
---- Add the following lines
$profilefieldname="field$profilefield[profilefieldid]";
$profilefield[value]=$userinfo[$profilefieldname];
eval("\$customfields .= \"".gettemplate("getinfo_customfields")."\";");
}
---- Replace the following line
$attachment .= "<IMG BORDER=0 SRC='{imagesfolder}/paperclip.gif' ALT='".$alt."' TITLE='".$alt."'></A>";
---- with this line
$attachment .= "<IMG BORDER=0 SRC='{imagesfolder}/viIcons/paperclip.gif' ALT='".$alt."' TITLE='".$alt."'></A>";

To fix the whosonline paperclip addon
-- If your whosonline menu does not extend the full length of the table.
edit online.php file
---- Replace this line
$onlinecolspan = 3;
---- With this line
$onlinecolspan = 4;

-- If your paperclip image does not show, instead you see text.
---- Replace this line
$userinfo['portfolio'] .= "<IMG BORDER=0 SRC=\"{imagesfolder}/viIcons/paperclip.gif\" ALT=\"".$alt."\" TITLE=\"".$alt."\" /></A>";
---- With this line
$userinfo['portfolio'] .= "<IMG BORDER=0 SRC=\"{imagesfolder}/paperclip.gif\" ALT=\"".$alt."\" TITLE=\"".$alt."\" /></A>";
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01202 seconds
  • Memory Usage 1,777KB
  • 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)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