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)

TeddyBare69 08-13-2002 04:00 AM

Hey Apok,
I was thinking that before too about what url should the user be taken to after an upload is finished. Back to the Portfolio?, Back to the Edit Portfolio? or the Profile? I wonder if it would just be easiest to addit as a setting that can be chanaged in the Admin Control Panel?

What do you guys think? It would be an easy thing to do.

Also Apok, sorry about all the frustration. You can be happy about the new version and that nobody else will have to go thru what you did :D I just wish I had gotten it in time to help you. The new version was inspired by th vbQuiz hack installer. That one was so simple and did an aweful lot of work. Just didn't show it. If you still have more energy left, give this install a try. If you have files that are already uploaded and you don't want to loose them than only do an upgrade. The uninstall will remove all traces of viPortfolio.

Check out the version 1.1.0 though, it is worth it. :D

Apok2002 08-13-2002 04:34 AM

Yes, the user should definately be taken back to the Porfolio. Users just updated their pics/docs, etc...they'll want to see it immediately how the rest of the community will see it. They'll want to verify it was done correctly.

Im also upgrading right now...I'll let ya know how it goes.

Apok2002 08-13-2002 04:39 AM

well...here is a list of all the errors that I got in the Install for 1.10 during the upgrade.

Quote:

Cleaning up old mime types

Inserting default mime types

Configuring default icons

Copying icon files


Warning: mkdir() failed (Permission denied) in /home/apok/public_html/forums/viPortfolio/install.php on line 626

../images/15
animation.gif to ../images/15/animation.gif
Warning: Unable to create '../images/15/animation.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

generic.gif to ../images/15/generic.gif
Warning: Unable to create '../images/15/generic.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

pic.gif to ../images/15/pic.gif
Warning: Unable to create '../images/15/pic.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

text.gif to ../images/15/text.gif
Warning: Unable to create '../images/15/text.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

zip.gif to ../images/15/zip.gif
Warning: Unable to create '../images/15/zip.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631


Warning: mkdir() failed (Permission denied) in /home/apok/public_html/forums/viPortfolio/install.php on line 626

../images/75
animation.gif to ../images/75/animation.gif
Warning: Unable to create '../images/75/animation.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

generic.gif to ../images/75/generic.gif
Warning: Unable to create '../images/75/generic.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

pic.gif to ../images/75/pic.gif
Warning: Unable to create '../images/75/pic.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

text.gif to ../images/75/text.gif
Warning: Unable to create '../images/75/text.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

zip.gif to ../images/75/zip.gif
Warning: Unable to create '../images/75/zip.gif': No such file or directory in /home/apok/public_html/forums/viPortfolio/install.php on line 631

../images/attach
attach.gif to ../images/attach/attach.gif
Warning: Unable to create '../images/attach/attach.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

bmp.gif to ../images/attach/bmp.gif
Warning: Unable to create '../images/attach/bmp.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

gif.gif to ../images/attach/gif.gif
Warning: Unable to create '../images/attach/gif.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

jpeg.gif to ../images/attach/jpeg.gif
Warning: Unable to create '../images/attach/jpeg.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

jpg.gif to ../images/attach/jpg.gif
Warning: Unable to create '../images/attach/jpg.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

png.gif to ../images/attach/png.gif
Warning: Unable to create '../images/attach/png.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

txt.gif to ../images/attach/txt.gif
Warning: Unable to create '../images/attach/txt.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

zip.gif to ../images/attach/zip.gif
Warning: Unable to create '../images/attach/zip.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

blank.jpg to ../images/blank.jpg
Warning: Unable to create '../images/blank.jpg': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

paperclip.gif to ../images/paperclip.gif
Warning: Unable to create '../images/paperclip.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

space.gif to ../images/space.gif
Warning: Unable to create '../images/space.gif': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

Apok2002 08-13-2002 04:41 AM

I went ahead and clicked "continue" and I got the following:

Quote:

Removing viPortfolio applications
viPortfolio.php
Copying application code

viPortfolio.php to ../viPortfolio.php
Warning: Unable to create '../viPortfolio.php': Permission denied in /home/apok/public_html/forums/viPortfolio/install.php on line 631

copy complete
It's all jacked up now. None of it works. The url that WAS working for 1.07 now generates mysql errors.

I'll just uninstall again, and go thru the manual install in a couple days. I need a break from this one. It's like teasing me...SO close...but never quite there.

Apok2002 08-13-2002 04:59 AM

Also, when doing the manual install of the paperclip addon, in the memberlist.php, where it says to find:
PHP Code:

$userinfo[pmlink] = " "; }) 

This is not found.

This is what is here instead:

PHP Code:

if ($userinfo[receivepm]) {
      eval(
"\$userinfo[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
    } else {
      
$userinfo[pmlink] = " ";
    } 

Where in the above code does the following go?

PHP Code:

// Add a paperclip to the left of the username in the memberlist.
$attachcount=$DB_site->query_first("SELECT COUNT(*) AS count
        FROM viPortfolio
        WHERE userid = '"
.$userinfo['userid']."'
        AND enddate is NULL
"
);
if ( 
$attachcount['count'] > ) {
    if ( 
$attachcount['count'] > )
            
$alt="Member ".$userinfo['username']." has ".$attachcount['count']." attachments in there portfolio.";
        else
                
$alt="Member ".$userinfo['username']." has ".$attachcount['count']." attachment in there portfolio.";
        
$attachment  "<A HREF='$appname.php?s=$session[sessionhash]&userid=".$userinfo['userid']."&action=view'>";
        
$attachment .= "<IMG BORDER=0 SRC='https://vborg.vbsupport.ru/vbimages/paperclip.gif' ALT='".$alt."' TITLE='".$alt."'></A>";
} else {
        
$attachment '';
}
// Add a paperclip to the left of the username in the memberlist. 

--------------------------------------
When it says to click on the memberlist tab, first of all, it's by default on memberlistbit template, not memberlist....and above memberlistbit (default template set), it shows the following error:
Warning: Missing argument 7 for makechoosercode() in /home/apok/public_html/forums/admin/adminfunctions.php on line


I decided to try to do that one manually, but found the same problems as I did in 1.07.

It says:
Quote:

Next, click on the tab called memberlist above the text box on your right.
Go to line number 52 and look for:
(Three page down keys) colspan="6"
Replace the number 7 with a number 6
I think you are meaning to say "Replace the number 6 with a number 7", no?

-------------------------------------------

Also...still, there are no admin cp settings appearing. :(

TeddyBare69 08-13-2002 04:59 AM

no, it is not that bad. all you have to do is copy the viIcons directory into your forumroot/images directory and copy the prog\viPortfolio.php file your forumroot/ directory. You had some kind of permission error possibly from doing it manualy before. It is fixable quite easily.

Apok2002 08-13-2002 05:18 AM

viPortfolio.php was moved there, and the icons were already in place.

and when I go to http://www.ez-company.net/forums/viPortfolio.php I get the following error:

Code:

Database error in vBulletin 2.2.6:

Invalid SQL:
                select viPortfolioid, filename, file, text,
                cthumb, content_type, thumb, iconpath, largeicon, supported,
                i.title, iconpath, width, height, ext
                FROM viPortfolio p, mime m
                    LEFT JOIN icons i ON m.iconid = i.iconid
                where p.mimeid = m.mimeid
                and  p.enddate is NULL
                and  m.enddate is NULL
                and  i.enddate is NULL
        limit 1 ORDER BY p.viPortfolioid
mysql error: You have an error in your SQL syntax near 'ORDER BY p.viPortfolioid ' at line 11

mysql error number: 1064

Date: Tuesday 13th of August 2002 02:15:10 AM
Script: http://www.ez-company.net/forums/forums/viPortfolio.php
Referer:

Now before the install, it was kinda weird too...it would take me to my UserCP (not portfolio). But there were no errors. I can see the Portfolio now...but I have to go thru my Profile to do it.

And there is still no admin cp settings, nor paperclip due to the issues in the posts above.

TeddyBare69 08-13-2002 05:23 AM

The error above is because you don't have a userid in the url. If you had http://www.ez-company.net/forums/for...=1&action=view

that would work better

TeddyBare69 08-13-2002 05:24 AM

that last part is supposed to be viPortfolio.php?userid=1&action=view

TeddyBare69 08-13-2002 05:49 AM

Yeah, the manual instructions have a lot to be desired!!!! That is by far my favorite thing to do. Minifreunde offered to help me and then the next night I got inspired from a different hack that I was installing and the new installer was born.

There is another problem with the hack directions. It tells you to click on a tab for memberlist.php and the tab doesn't even exist :D The directions were written for the previous editor. I didn't have time to include that so the directions need to be polished a little bit :paranoid:

I was just happy to get something that worked better than the previous one. I had to come tell people about the changes.

I will update the manual directions tonight and have them available sometime tomorrow morning. :)


All times are GMT. The time now is 06:12 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.01715 seconds
  • Memory Usage 1,797KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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