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

Reply
 
Thread Tools
vbadvanced Links 2.0beta Number of contributed links in profile Details »»
vbadvanced Links 2.0beta Number of contributed links in profile
Version: 1.00, by Spikeman Spikeman is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.2 Rating:
Released: 10-08-2006 Last Update: 10-08-2006 Installs: 9
Uses Plugins Template Edits
 
No support by the author.

This modification will add to a member's profile the number of links that they have contributed. It needs vbadvanced links 2.0 beta installed.

original idea from here which will work with vB3.6.1 and vBa Links 1.0.1

Installation
1. Import the attached plugin.
2. Add in the MEMBERINFO template

Find this:
Code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
Replace with this:
Code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)<br>Links Contributed: $userlinks[count]
This has been tested with vB 3.6.2 using vBa CMPS 2.2.0 with vBa Links Directory 2.0beta

Show Your Support

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

Comments
  #2  
Old 10-09-2006, 01:10 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Additional Content
Reply With Quote
  #3  
Old 10-09-2006, 01:21 AM
eNforce's Avatar
eNforce eNforce is offline
 
Join Date: Aug 2004
Location: Canada, AB
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off, I had to edit the product file and change the name of the product because when trying to import the product via ACP it said the product 'vbulletin' already existed.

After I edited the name and installed it, I view a member's profile and recieve this:

Quote:
Database error in vBulletin 3.6.2:

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

MySQL Error : Table 'enforcer_bb.adv_links' doesn't exist
Error Number : 1146
Date : Sunday, October 8th 2006 @ 10:20:15 PM
Script : http://www.areyouserios.com/member.php?u=1
Referrer : http://www.areyouserios.com/
IP Address :
Username :
Classname : vB_Database
Reply With Quote
  #4  
Old 10-09-2006, 01:31 AM
Spikeman Spikeman is offline
 
Join Date: Aug 2006
Location: UK
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
First off, I had to edit the product file and change the name of the product because when trying to import the product via ACP it said the product 'vbulletin' already existed.
changed and updated

Do you have Vba Links Directory 2.0 beta installed? Could not see it on your site?
Reply With Quote
  #5  
Old 10-09-2006, 07:28 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

links/browselinks.php?do=member&linkuserid=$userinfo[userid]

I linked them
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 02:22 PM.


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.04047 seconds
  • Memory Usage 2,237KB
  • Queries Executed 18 (?)
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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete