Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Photopost Latest uploads in user profile Details »»
Photopost Latest uploads in user profile
Version: 1.00, by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-31-2006 Last Update: 03-31-2006 Installs: 51
Uses Plugins Template Edits
 
No support by the author.

hi, People,

this plugin will display the latest upload user "x" did in user "x" profile page eg member.php?u=1 (admin) installation is very easy
  • download the plugin
  • edit the plugin to match your setup (path to PhotoPost and possible login & passwords if you use seperated databases)
  • import the plugin in vbulletin
  • template modification

template "MEMBERINFO" wherever you want it to appaer for example i have i right under my signature find

HTML Code:
<!-- / signature row -->
<br />
</if>
add below
HTML Code:
<!--PhotoPost -->
<if condition="$profileimagebits">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
    <td class="tcat" colspan="$columns">$userinfo[username]'s Latest Gallery Submissions</td>
</tr>
<tr>$profileimagebits</tr>
</table>
<br />
</if>
<!-- PhotoPost end -->
done

Show Your Support

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

Comments
  #22  
Old 04-06-2006, 10:19 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by h_kakashi
I get the following error :

Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php on line 760

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php on line 812
The rest of the profile loads but that error is at the top and no thumbnails

Any ideas ?

version is 5.2.1
vbulletin is 3.5.0 with security patches.
default member.php file (Chmod 777)

Thanks
check your database config your datase needs a predix i guess
Reply With Quote
  #23  
Old 04-06-2006, 11:28 PM
h_kakashi h_kakashi is offline
 
Join Date: Oct 2004
Location: London
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The prefix is pp_

The path to config-int.php is correct. Within config-int the prefix is set to pp_

It can connect to the database so username and pass / database name is correct. I'll keep working on it tommorrow.
Reply With Quote
  #24  
Old 04-07-2006, 03:35 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The paths in the plugin:

<phpcode><![CDATA[$ppath="/your/path/to/PhotoPost";
require "{$ppath}/config-int.php";

What should it be written like?

And do you change the 2 above lines of code or just were it says "/your/path/to/PhotoPost
Reply With Quote
  #25  
Old 04-07-2006, 04:18 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
The paths in the plugin:

<phpcode><![CDATA[$ppath="/your/path/to/PhotoPost";
require "{$ppath}/config-int.php";

What should it be written like?

And do you change the 2 above lines of code or just were it says "/your/path/to/PhotoPost
you only need to change the $ppath variable.What value it should have on your system well no idea .... if you don't know this you need to ask your host's support
Reply With Quote
  #26  
Old 04-10-2006, 05:07 PM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error

Code:
Warning: Unknown(): open_basedir restriction in effect. File(/gallery/config-int.php) is not within the allowed path(s): (/home/uk2flo/:/usr/lib/php:/usr/local/lib/php:/tmp) in /member.php(651) : eval()'d code on line 4

Warning: Unknown(/gallery/config-int.php): failed to open stream: Operation not permitted in /member.php(651) : eval()'d code on line 4

Warning: Unknown(): open_basedir restriction in effect. File(/gallery/config-int.php) is not within the allowed path(s): (/home/uk2flo/:/usr/lib/php:/usr/local/lib/php:/tmp) in /member.php(651) : eval()'d code on line 4

Warning: Unknown(/gallery/config-int.php): failed to open stream: Operation not permitted in /member.php(651) : eval()'d code on line 4

Fatal error: (null)(): Failed opening required '/gallery/config-int.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/uk2flo/public_html/forum/member.php(651) : eval()'d code on line 4
any ideas?

great hack, like it alot
Reply With Quote
  #27  
Old 04-10-2006, 05:18 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MamboCube
i get this error

Code:
Warning: Unknown(): open_basedir restriction in effect. File(/gallery/config-int.php) is not within the allowed path(s): (/home/uk2flo/:/usr/lib/php:/usr/local/lib/php:/tmp) in /member.php(651) : eval()'d code on line 4

Warning: Unknown(/gallery/config-int.php): failed to open stream: Operation not permitted in /member.php(651) : eval()'d code on line 4

Warning: Unknown(): open_basedir restriction in effect. File(/gallery/config-int.php) is not within the allowed path(s): (/home/uk2flo/:/usr/lib/php:/usr/local/lib/php:/tmp) in /member.php(651) : eval()'d code on line 4

Warning: Unknown(/gallery/config-int.php): failed to open stream: Operation not permitted in /member.php(651) : eval()'d code on line 4

Fatal error: (null)(): Failed opening required '/gallery/config-int.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/uk2flo/public_html/forum/member.php(651) : eval()'d code on line 4
any ideas?

great hack, like it alot
that's a security setup from your host i'm afraid there is not much you can do about it except install Photopost inside vbulletin's directory ...
Reply With Quote
  #28  
Old 04-10-2006, 05:21 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its because your trying to read a directory outside of what you are allowed to view.

Install this within the vbulletin directory and all will be fine.
Reply With Quote
  #29  
Old 04-10-2006, 05:21 PM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh right,

i currently use a reseller package for my hosting, so is there anything i can change in the WHM, or is it something to do with the actuall server?

thnx for your help by the way, appreciate the quick reply
Reply With Quote
  #30  
Old 04-10-2006, 05:29 PM
MamboCube's Avatar
MamboCube MamboCube is offline
 
Join Date: Jul 2005
Location: Cardiff, Wales
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Realist
Its because your trying to read a directory outside of what you are allowed to view.

Install this within the vbulletin directory and all will be fine.

ok, but is there any other way?

as i would rather have them in seperate directorys

i have tried setting my path as the full path (with http:// and evrything)

and i get this error
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 36

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 88
same kinda thing as h_kakashi

thnx very much for the reply guys, really appreciate it
Reply With Quote
  #31  
Old 04-10-2006, 05:43 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MamboCube
ok, but is there any other way?

as i would rather have them in seperate directorys

i have tried setting my path as the full path (with http:// and evrything)

and i get this error
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 36

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /member.php(651) : eval()'d code on line 88
same kinda thing as h_kakashi

thnx very much for the reply guys, really appreciate it
http:// is a url NOT a path ..... did you set the table prefix photopost is uisng ?
Reply With Quote
Reply


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 09:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04650 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete