Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Photopost Gallery Uploads in Postbits and Profiles Details »»
Photopost Gallery Uploads in Postbits and Profiles
Version: 4, by AngelBlue AngelBlue is offline
Developer Last Online: May 2018 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.8 Rating:
Released: 02-08-2008 Last Update: 08-30-2008 Installs: 13
DB Changes Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

This addon has been withdrawn.

Show Your Support

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

Comments
  #2  
Old 02-09-2008, 01:28 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you got a demo or a screen shot of how it looks? because i'd love to see how it looks int he postbit. thanks.
Reply With Quote
  #3  
Old 02-09-2008, 08:18 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, sorry, I don't. However, it isn't hard to imagine.
Users with gallery uploads have one line added to their postbit, and two to their profile.
Say they had 5 uploads and have been registered for 10 days, they would have :

"Gallery Uploads: 5" in their postbit. (under their post count)

"Total Gallery Uploads: 5 (0.5 per day)" in their profile. (under their post count)
Reply With Quote
  #4  
Old 02-10-2008, 10:34 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good job, i modified the templates a bit and this is the result

Postbit legacy

Code:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
after i added

Code:
<if condition="$post[ppuploads] > 0"><a href="../albums/showgallery.php?cat=500&ppuser=$post[userid]" rel="nofollow" target="_blank"><img class="inlineimg" src="$stylevar[imgdir_button]/gallery.png" alt="$post[ppuploads] Gallery uploads" border="0" /></a></if>
Attachment 75808

Memberinfo

Code:
<if condition="$userinfo[ppuploads] > 0">
<fieldset class="fieldset">
<legend>Gallery</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
<td><a href="../albums/showgallery.php?cat=500&ppuser=$userinfo[userid]" target=_blank>View all Gallery photos of $userinfo[username] </a></td>
				</tr>
<tr>
					<td>$vbphrase[total_ppuploads]: <strong>$userinfo[ppuploads]</strong> (<phrase 1="$ppuploadsperday">$vbphrase[x_ppuploads_per_day]</phrase>)</td>
				</tr>
				</table>
			</fieldset>
</if>
Attachment 75809
Reply With Quote
  #5  
Old 02-11-2008, 01:08 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Konstantinos View Post
good job, i modified the templates a bit and this is the result

Postbit legacy

Code:
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
after i added

Code:
<if condition="$post[ppuploads] > 0"><a href="../albums/showgallery.php?cat=500&ppuser=$post[userid]" rel="nofollow" target="_blank"><img class="inlineimg" src="$stylevar[imgdir_button]/gallery.png" alt="$post[ppuploads] Gallery uploads" border="0" /></a></if>
Attachment 75808

Memberinfo

Code:
<if condition="$userinfo[ppuploads] > 0">
<fieldset class="fieldset">
<legend>Gallery</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
<td><a href="../albums/showgallery.php?cat=500&ppuser=$userinfo[userid]" target=_blank>View all Gallery photos of $userinfo[username] </a></td>
				</tr>
<tr>
					<td>$vbphrase[total_ppuploads]: <strong>$userinfo[ppuploads]</strong> (<phrase 1="$ppuploadsperday">$vbphrase[x_ppuploads_per_day]</phrase>)</td>
				</tr>
				</table>
			</fieldset>
</if>
Attachment 75809
Thank you, and nice job with the template modifications

I like the way you use "../" in your link to avoid making installers specify the URLs manually.
Personally, I always like to specify the absolute URL, because I have different bits of my vB install in different folders, and this means that relative URLs can end up giving 404 errors.
Your version is probably better for sites with little customization.

I also used the member.php? link because I wanted to display a link to a search page that lists *all* their photos, not just the ones they've put in the member gallery. Your version might well be better for sites which don't have other categories beyond the 'member galleries' one.
Reply With Quote
  #6  
Old 02-26-2008, 08:56 PM
CallieJo's Avatar
CallieJo CallieJo is offline
 
Join Date: May 2004
Location: Snowville
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to show the total number of photos from all cats and all members?
Reply With Quote
  #7  
Old 03-12-2008, 10:10 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found a bug. when a user deletes some of his photos the number of uploads in post and memberinfo doesnt reduce
Reply With Quote
  #8  
Old 03-13-2008, 02:53 AM
RichTJ99 RichTJ99 is offline
 
Join Date: Jul 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

won't this do the same without using the add-on?

Code:
<if condition="$post[ppicount] != '0'"> 
			<div class="smallfont"><a href="http://www.yoursite.com/gallery/browseimages.php?do=member&imageuser=$post[userid]">
					Gallery: $post[ppicount]
				</a></div></if>
Reply With Quote
  #9  
Old 03-14-2008, 07:03 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

are u sure this mod doesnt interfear with post count ? i deleted some users images and i saw that this users post count got decreased. plz check it out
Reply With Quote
  #10  
Old 03-14-2008, 07:07 AM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all right i just checked. it When u delete user photos in BULK ACTIONS if u delete 5 images and run the cron ,for example his post count is reduced by 5 . plz check it out, maybe this is not mod related but photopost related.
Reply With Quote
Reply

Thread Tools

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 11:58 AM.


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.05393 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
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
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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