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

Reply
 
Thread Tools
Rapidshare Thanks Details »»
Rapidshare Thanks
Version: 2.6, by TheInsaneManiac TheInsaneManiac is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 07-04-2009 Last Update: 07-05-2009 Installs: 13
Uses Plugins Template Edits Auto-Templates
Is in Beta Stage  
No support by the author.

If your forums are based on downloads or w/e and you wish to save forum/signature space then this mod is for you. If your members wish to be thanked by having another member simply download a file from rapidshare then allow them to link a thanks button to the rapidshare file.

Template Edits: 1
File Edits: 1

Features
  • Thanks button links to a rapidshare file.
  • Members can ONLY add a rapidshare file and NOT a rapidshare folder. (So they don't mislead other members to download their stuff)
  • For security reasons members are blocked from using a different website. (So they can't redirect members where ever)

Upgrading
2.2 and above can simply import the product and select "Allow Overwrite".

2.1 and below you must uninstall the old product!



Step 1
Admin -> User Profile Fields -> Add New User Profile Field

Single-Line Text Box

Title
Rapidshare Thanks File ID

Description:
Enter your Rapidshare file ID that you wish for members to download in order to thank you.
EX: http://rapidshare.com/files/<b><u>000000000/filename.zip</u></b>

Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No


Step 2
Open product-rapidsharethanks.xml and find both instances of $post[fieldX], replace the X with the profile field ID you just created, and save.


Step 3
Upload the contents of the upload folder to your forum root.


Step 4
In postbit find an area you wish to place the thanks button and add this code:
<!-- Rapidshare Thanks -->

To have it show before the edit button add the code before:
PHP Code:
            <if condition="$post['editlink']">
                <
img style="display: none" id="progress_$postidsrc="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]/>
                <
a href="$post[editlink]name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a>
            </if> 

Step 5
Install the plugin.


Changelog:
1.0 - Release
2.0 - Fixed a small issue that caused the thanks button to show for those that don't have the thanks system setup in their usercp.
2.1 - I forgot a small bit of code to make it so the thanks button only shows for those that don't have the thanks system setup in their usercp. It works now, my bad it was 8:00 A.M. when I worked on the first fix. I also updated the profile field example.
2.2 - Rewrote parts of the modification to be more server sufficient. Also all future updates will not need to be uninstalled. A simple Allow Overwrite will work. However this update will require you to uninstall and install the updated product.
2.5 - Fixed an issue with the server sufficient code caused the button to repeat. Added a message feature so that when the user clicks the Thanks button they are informed that they are being redirected to Rapidshare. Since there is more to see, I have added screenshots.
2.6 - Fixed the repeating issue for sure this time. I accidentally left out the fix in the last release.


If you have any feature requests let me know. The only reason I have this in beta stages is because I haven't got all the initial features I wanted to include in it yet. If people like it I will continue to develop this modification and work on the features I wanted to include to get this out of the beta stages.

Download Now

File Type: zip Rapidshare Thanks.zip (3.6 KB, 51 views)

Screenshots

File Type: jpg Rapidshare Thanks.jpg (26.6 KB, 0 views)
File Type: jpg Admin CP.jpg (42.4 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 07-05-2009, 11:12 AM
Andy69 Andy69 is offline
 
Join Date: May 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screen shot or demo please ?
Reply With Quote
  #3  
Old 07-05-2009, 11:17 AM
Sp32 Sp32 is offline
 
Join Date: Sep 2008
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeahhhh... Awesome... Gonna install pwnage ftw
Reply With Quote
  #4  
Old 07-05-2009, 11:24 AM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andy69 View Post
screen shot or demo please ?
Honestly I don't know what to screenshot? I don't run a download forum so I don't have a demo for you guys either as I don't have this installed. (I installed it on my test forum, but uninstalled it after testing purposes)

To better describe it's uses:
Member A types in their rapidshare file ID, which is then used in all of the member A posts. So when another member B comes along that thinks member A is helpful, he can click member A's thanks button which leads him to a rapidshare file download of member B's choice.

I already found a minor issue, which I have fixed. Nothing really all that big. Anyway to upgrade you MUST uninstall the previous version.

Note: This will not affect your settings.
Reply With Quote
  #5  
Old 07-05-2009, 11:58 AM
ShadowAssassin1 ShadowAssassin1 is offline
 
Join Date: Apr 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, so when you click that button, it simply opens up a new tab to download the file?
Reply With Quote
  #6  
Old 07-05-2009, 12:01 PM
Andy69 Andy69 is offline
 
Join Date: May 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its putting the link in twice on the search bar and as a result error file not found
Reply With Quote
  #7  
Old 07-05-2009, 02:00 PM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheInsaneManiac View Post
Honestly I don't know what to screenshot? I don't run a download forum so I don't have a demo for you guys either as I don't have this installed. (I installed it on my test forum, but uninstalled it after testing purposes)

To better describe it's uses:
Member A types in their rapidshare file ID, which is then used in all of the member A posts. So when another member B comes along that thinks member A is helpful, he can click member A's thanks button which leads him to a rapidshare file download of member B's choice.

I already found a minor issue, which I have fixed. Nothing really all that big. Anyway to upgrade you MUST uninstall the previous version.

Note: This will not affect your settings.

Well if you should definatly check it works, before you post, and try it on a downloads site...

We need a screenshot!
Reply With Quote
  #8  
Old 07-05-2009, 05:37 PM
avsunforum avsunforum is offline
 
Join Date: Feb 2008
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen Shoot Please
Reply With Quote
  #9  
Old 07-05-2009, 06:52 PM
sebil's Avatar
sebil sebil is offline
 
Join Date: Feb 2008
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheInsaneManiac View Post
Honestly I don't know what to screenshot? I don't run a download forum so I don't have a demo for you guys either as I don't have this installed. (I installed it on my test forum, but uninstalled it after testing purposes)
thats a big lie...
Reply With Quote
  #10  
Old 07-05-2009, 07:40 PM
forumsonsuz forumsonsuz is offline
 
Join Date: Apr 2007
Location: Turkey
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen Shoot Please
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 01:23 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.04643 seconds
  • Memory Usage 2,324KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_php
  • (3)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
  • (3)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete