Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
UKBL ~ Ebay Feedback Badge ~ Clickable !! Details »»
UKBL ~ Ebay Feedback Badge ~ Clickable !!
Version: 1.00, by UKBusinessLive UKBusinessLive is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.5 Rating:
Released: 02-10-2009 Last Update: 02-10-2009 Installs: 2
Template Edits
Re-useable Code Translations  
No support by the author.

UKBL ~ Ebay Feedback Badge ~ Clickable !!


Selling on your site or Letting Members advertise their "eBay" Sales ? What beter way to show how Trustworthy Members are by adding their very own "eBay Feeback Badge"

This is a cool hack which will let your members add a Feedback Badge to their Postbit template, They need to add their feedback Badge user ID in their Control Panel for this to show, If they don't enter one, then the badge don't show





How to install.

Its really easy to do, as always, so if your sitting comfortably, lets begin

First go to http://www.auctionfb.com/ and Create your Feedback Badge



Then save the code and user Number as we'll need it later

The code looks like this and the number you want is in red

Code:
<a href="http://auctionfb.com/click.php?user=2844" target="_blank">
<img src="http://auctionfb.com/feedback.php?user=2844" border="0">
</a>
Now we need to create a User Custome field, so.....

AdminCP and add a custom field > User Profile fields > Add New User Profile Field

Title = Ebay Feedback Badge

Description = Get your own Ebay Clickable Feedback Badge here http://www.auctionfb.com/ and then enter your 4 digit User Number Only from the code into the area below

Default Value = Leave empty

Max length of allowed user input = 4

Display Size = 10

Display Order = 10 or 15

Field Required = No as default

Field Editable by User = Yes in case member wants to delete, Later

Private Field = No

Field Searchable on Members List = No

Show on Members List = Yes

Regular Expression = leave empty

Save the field

Once you've saved you can see what the field number is, So lets say its Field6 for example, Remember this as will need it for your Postbit Edits :up:

Thats the first bit done, now Part Two

Go to the template you are using in Styles & Templates/Style Manager, and select Edit templates.

Go to "postbit templates" and select the template you are using, either postbit or postbit_legacy.

Find the following

Code:
<if condition="$post['joindate']"><div class="postbit">$vbphrase[join_date]: $post[joindate]</div></if>
Directly above it add

Code:
<if condition="$post[field6]">
<a href="http://auctionfb.com/click.php?user=$post[field6]" target="_blank">
<img src="http://auctionfb.com/feedback.php?user=$post[field6]" border="0">
</a>
replace the RED Field attribute for your own

now when members sign up for their Feedback Badge and enter their 4 digit User Number into the "Edit Your Details" section in their UserCP, The Badge will automatically appear in their Postbit

Members who do not add a user id will not be shown anything.

Oh Forgot to say, Badge is fully clickable so members can Confirm the Feedback Directly with Ebay



Hope you enjoyed this new hack, and thanks to the long car journeys home every night which got me thinking about this earlier :up:

Please Click Installed and I'll support you 100%

Thanks

Show Your Support

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

Comments
  #2  
Old 02-11-2009, 05:43 PM
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Location: Essex, United Kingdom
Posts: 1,637
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved
Reply With Quote
  #3  
Old 05-27-2009, 12:07 AM
magicman17 magicman17 is offline
 
Join Date: Jan 2008
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way too make the box smaller??? it makes my my postbit look massive.

Check:
http://www.cardsdownunder.net.au/showthread.php?t=6306

Thanks.
Reply With Quote
  #4  
Old 05-27-2009, 12:26 AM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UAU..

Thanks my dear!
Reply With Quote
  #5  
Old 05-27-2009, 01:03 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magicman17 View Post
is there a way too make the box smaller??? it makes my my postbit look massive.

Check:
http://www.cardsdownunder.net.au/showthread.php?t=6306

Thanks.
I did not DL UK's mod however I bet there is BUT it would not display all the info properly... Kind of late my time so if UK does not get back to you by the time I get on tomorrow (which I know he will hey UK ) then I'll be more than glad to help but wifey wants to watch TV and computer is on the 40" or as she would say.. OUR computer and TV

S-MAN
Reply With Quote
  #6  
Old 05-27-2009, 01:53 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magicman17 View Post
is there a way too make the box smaller??? it makes my my postbit look massive.

Check:
http://www.cardsdownunder.net.au/showthread.php?t=6306

Thanks.
Here is the original code:

Code:
<if condition="$post[field6X]">
<a href="http://auctionfb.com/click.php?user=$post[field6]" target="_blank">
<img src="http://auctionfb.com/feedback.php?user=$post[field6]" border="0">
</a>
Now simply add in a width & height attribute in the code:

Code:
<if condition="$post[field6X]">
<a href="http://auctionfb.com/click.php?user=$post[field6]" target="_blank">
<img src="http://auctionfb.com/feedback.php?user=$post[field6]"  width="50" height="50" border="0">
</a>
You might have to add px behind the 50 i.e. 50px or you can even use 100% instead of 50%

I'm @ work now so not tested but it should be something simple

Also UKBL, when you have a spare moment update your install or FEEDBACK.txt instructions to add the end if tag i.e.

Currently:

Code:
<if condition="$post[field6X]">
<a href="http://auctionfb.com/click.php?user=$post[field6]" target="_blank">
<img src="http://auctionfb.com/feedback.php?user=$post[field6]" border="0">
</a>
Needs to be:

Code:
<if condition="$post[field6X]">
<a href="http://auctionfb.com/click.php?user=$post[field6]" target="_blank">
<img src="http://auctionfb.com/feedback.php?user=$post[field6]" border="0">
</a></if>
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:07 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.07407 seconds
  • Memory Usage 2,265KB
  • Queries Executed 19 (?)
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
  • (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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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