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
[vbadvanced Gallery & Links] Number of contributed pics & links in profile Details »»
[vbadvanced Gallery & Links] Number of contributed pics & links in profile
Version: 1.00, by Lea Verou Lea Verou is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 11-11-2005 Last Update: Never Installs: 79
Uses Plugins Template Edits
 
No support by the author.

This modification will add to a member's profile the number of pictures and links he has contributed. It needs vbadvanced links and vbadvanced gallery installed.
The code for the gallery is Brian's (Tigga here) but I made it as a plugin and added the code for the links too.

Installation
1. Import the attached plugin.
2. Add in the MEMBERINFO template wherever you'd like it:
HTML Code:
Pictures Contributed: $userimages[count]
for the images and
HTML Code:
Links contributed: $userlinks[count]
for the links.

Please click install if you use this.
If you only have vba Gallery or vba Links then delete (or comment) the other section of the plugin.

Show Your Support

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

Comments
  #52  
Old 07-01-2006, 08:19 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I am getting this error:




Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM links WHERE userid = '1' AND valid = 1;

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Saturday, July 1st 2006 @ 02:18:49 PM
Script : http://www.puregraffiti.com/graffiti...member.php?u=1
Referrer : http://www.puregraffiti.com/graffiti-space/index.php
IP Address : ***
Username : puregraffiti
Classname : vb_database




can you please help me fix this?
THANKS!
:bunny:
Reply With Quote
  #53  
Old 07-02-2006, 07:18 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You obviously don't hve vbdvanced links directory installed. Comment out the section of the plugin that refers to links and don't do the template edit for links, just for the gallery.
Reply With Quote
  #54  
Old 07-02-2006, 10:46 AM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dsyn11
I have photopost instead of vBa gallery. How do I change the product to pull the count from there?
Has anyone modified this mod to work with PhotoPost?
Reply With Quote
  #55  
Old 07-03-2006, 12:17 AM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
You obviously don't hve vbdvanced links directory installed. Comment out the section of the plugin that refers to links and don't do the template edit for links, just for the gallery.
i found Links contributed: $userlinks[count]
in MEMBERINFO and removed it and stil same error when i click on the usernames name, takes me to a page with that error.

what else could it be?

is there a way to restore things without restore the database. i tried uninstalling the plugin re-installing but didnt work either.

thank you i appreciate your help, im not very good with php.
Reply With Quote
  #56  
Old 07-03-2006, 11:05 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<!--
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM links WHERE userid = '35' AND valid = 1;

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Monday, July 3rd 2006 @ 05:03:44 PM
Script : http://www.puregraffiti.com/graffiti...poster&amp;f=5
Referrer : http://www.puregraffiti.com/graffiti-space/index.php
IP Address : *****
Username : cartman
Classname : vb_database
--> need to fix this please asap
Reply With Quote
  #57  
Old 08-19-2006, 04:06 PM
Eggie Eggie is offline
 
Join Date: Jun 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
I need to know the database structure of the photopost tables. Can you look into it via phpmyadmin and tell me?
About paid services: I don't accept international projects at the moment

hi Michelle,

I too would be intrested in using this with PhotoPost.. here are the tables for it

# Browse pp_admingroups
# Browse pp_admlog
# Browse pp_cache
# Browse pp_categories
# Browse pp_comments
# Browse pp_ecards
# Browse pp_exif
# Browse pp_extrafields
# Browse pp_favorites
# Browse pp_ipcache
# Browse pp_iponline
# Browse pp_laston
# Browse pp_notify
# Browse pp_photoextras
# Browse pp_photos
# Browse pp_photoviews
# Browse pp_settings
# Browse pp_sort
# Browse pp_sortmemb
# Browse pp_usergroups
# Browse pp_users

any help getting this to work would be great!
Reply With Quote
  #58  
Old 08-21-2006, 11:39 AM
Eggie Eggie is offline
 
Join Date: Jun 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me bumps in hopes of an answer.
Reply With Quote
  #59  
Old 09-24-2006, 03:59 PM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect with vB 3.6.1, thanks
Reply With Quote
  #60  
Old 10-16-2006, 09:50 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puregraf
Hi, I am getting this error:




Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM links WHERE userid = '1' AND valid = 1;

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Saturday, July 1st 2006 @ 02:18:49 PM
Script : http://www.puregraffiti.com/graffiti...member.php?u=1
Referrer : http://www.puregraffiti.com/graffiti-space/index.php
IP Address : ***
Username : puregraffiti
Classname : vb_database




can you please help me fix this?
THANKS!
:bunny:
Hi Michelle; I am getting this error since upgrading to the latest version of Links. It seems the hack is not compatible.
Reply With Quote
  #61  
Old 11-12-2006, 11:27 AM
gilbert gilbert is offline
 
Join Date: Jan 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone get this working with photopost yet?
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 06:44 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.05464 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)bbcode_html
  • (4)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
  • (3)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