vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   viPortfolio 1.2.6 Beta Release (https://vborg.vbsupport.ru/showthread.php?t=41691)

Dean C 08-19-2002 02:38 PM

whoa this still has errors :(... can't wait for the stable version

TeddyBare69 08-21-2002 11:57 AM

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 :D

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>";

TeddyBare69 08-21-2002 11:59 AM

Mist,
If you have a test server you could use to help test this hack it would make it to final release faster. :D The more people reporting errors the faster it moves out of Beta.

If any of you that have successfully installed this hack have any features you would like to see added? Is anybody using this in production yet? I know most of the bugs have been with the installer so it wouldn't surprise me if somebody other than visibleimpact.com is using this live with there customers?

TeddyBare69 08-21-2002 01:05 PM

I have the fixed hack files in version 1.2.6 now.

I have also fixed the install.php file. The settings problem along with copying the viPortfolio.php file and admin hacks to the correct location has been fixed.

Let me know if I missed anything. :D

Dean C 08-21-2002 05:57 PM

ok i may try this soon :D... im a lil busy with other projects right now :D

Apok2002 08-21-2002 07:30 PM

Teddy, what about all the "Q"'s that appeared in the Portfolio main page on every field?

Also, for ease on the eyes...can you edit your post above that shows the code, and use the php tags? :) Makes it much easier for everyone to see IMO. Not that big of a deal really, but it does make a difference. Perhaps in the future postings. hehe

PHP Code:

$profilefieldname="field$profilefield[profilefieldid]";
$profilefield[value]=$userinfo[$profilefieldname];
eval(
"\$customfields .= \"".gettemplate("getinfo_customfields")."\";");


as opposed to:

$profilefieldname="field$profilefield[profilefieldid]";
$profilefield[value]=$userinfo[$profilefieldname];
eval("\$customfields .= \"".gettemplate("getinfo_customfields")."\";");
}

Apok2002 08-22-2002 04:28 AM

Yikes! Just found out, that when you uninstall, it will uninstall the settinggroup, but not the settings. I have over 100 settingid's I have to uninstall manually now in myphpadmin. Apparently, they keep being added when I install viPortfolio...but they never uninstall automatically w/ the uninstall query.

Anyone know of any quick ways to mass delete these? I have entries from 220-337! The only way I know how is to manually delete them one at a time. :(

TeddyBare69 08-22-2002 06:04 AM

yeah I got your deletes here.

to verify what you are deleteing first:
select settinggroupid, title from setting where settinggroupid > 219 and settinggroupid < 338
select settinggroupid, title from settinggroup where title like 'viPortfolio%'

To delete those same records:
delete from setting where settinggroupid > 219 and settinggroupid < 338
delete from settinggroup where title like 'viPortfolio%'

Apok2002 08-22-2002 04:38 PM

Thanks for the help....but I just don't understand the above. :( I'm a mysql (myphpadmin) n00b.

Do I copy/paste that into my query box? like so:
Code:

select settinggroupid, title from setting where settinggroupid > 219 and settinggroupid < 338
select settinggroupid, title from settinggroup where title like 'viPortfolio%'

When I do that, I get the following:

Quote:

Error
SQL-query:

select settinggroupid, title from setting where settinggroupid > 219 and settinggroupid < 338
select settinggroupid, title from settinggroup where title like 'viPortfolio%'
MySQL said: You have an error in your SQL syntax near 'select settinggroupid, title from settinggroup where title like 'viPortfolio%'' at line 2
If I input one line at a time, nothing seems to happen. It just goes back to the main page.

NTLDR 08-22-2002 04:44 PM

You need to do each one sperately and make sure that you put a semi-colon (;) at the end of the line for each one


All times are GMT. The time now is 05:08 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.01199 seconds
  • Memory Usage 1,753KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete