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

Reply
 
Thread Tools
Content Merchants Details »»
Content Merchants
Version: 1.1, by pdtan pdtan is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 08-30-2010 Last Update: 09-04-2010 Installs: 18
DB Changes Uses Plugins Template Edits Auto-Templates
 
No support by the author.

What's it? It's a mod to allow members in your forum to buy/sell their content in posts (post only). However, you can also use this mod to hide content from guest

Requirement for this mod:
- Your forum needs to use a point/money system (if you have no one, you can use Reputation System )

How to install? Very simple, you only upload cash.jpg to your images folder then import product file.


Note:
- my mod uses CHARGE tag, so if you want to try or use it, please disable other mod using this tag
- Do not set Report Box visible to all members (I'll fix this issue as soon as possible)


Live demo: http://movie2share.net/showthread.php?t=139

Updated v1.1:
- Fixed: Subscriptions via Email issue

Download Now

File Type: xml product-dt_content_merchants.xml (22.3 KB, 83 views)

Screenshots

File Type: jpg ctmc.jpg (121.4 KB, 0 views)
File Type: jpg ctmc2.jpg (80.8 KB, 0 views)
File Type: png ctmcs.png (60.1 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 09-29-2010, 12:03 AM
pdtan pdtan is offline
 
Join Date: Jul 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by r00028304 View Post
any word on this?
Quote:
DropField("user", "xperience");
DropField("user", "xperience_done");
DropField("user", "xperience_level");
DropField("user", "xperience_levelp");
DropField("user", "xperience_next_level");
DropField("user", "xperience_next_level_points");
DropField("user", "xperience_ppd");
DropField("user", "xperience_ppd7");
DropField("user", "xperience_ppd30");
DropField("user", "xperience_awardt");
DropField("user", "xperience_achievements");
DropField("user", "xperience_lastupdate");
DropField("user", "xperience_awardcount");
DropField("user", "xperience_promotioncount");
DropField("user", "xperience_achievementcount");
DropField("user", "xperience_awards");
DropField("user", "xperience_points");
choose one field you want to use
Reply With Quote
  #13  
Old 11-23-2010, 09:57 PM
biocyberman biocyberman is offline
 
Join Date: May 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I tried with my vB 4.0.8 PL1 and vB 4.0.3 on Firefox and Chromes and there is one problem:
Clicking on "view" button to buy content does nothing. What's wrong?

Another question:

Is it known to work on Firefox/Chrome?

Update:
I had to add manually following code to headinclude template to make it work:
Code:
<SCRIPT language=Javascript src="ajax.php?do=content_merchant_js"></SCRIPT>
Apparently following plugin does not work correctly at my site:


PHP Code:
<plugin active="1" executionorder="5">
            <
title>Content Merchants</title>
            <
hookname>global_setup_complete</hookname>
            <
phpcode><![CDATA[global $vbulletin;
if(
$vbulletin->options['dt_content_merchants_active']){
$headinclude .= "<script type=\"text/javascript\" src=\"{$vbulletin->options['bburl']}/ajax.php?do=content_merchant_js\"></script>";
}]]></
phpcode>
        </
plugin
Reply With Quote
  #14  
Old 11-24-2010, 10:18 AM
biocyberman biocyberman is offline
 
Join Date: May 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an other question:
When I wrapped CHARGE bbcode around a link with editor "money" button, it doesn't work because CHARGE tags get interconnect with URL tags. How to fix this?
Reply With Quote
  #15  
Old 11-28-2010, 09:23 AM
pdtan pdtan is offline
 
Join Date: Jul 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by biocyberman View Post
I have an other question:
When I wrapped CHARGE bbcode around a link with editor "money" button, it doesn't work because CHARGE tags get interconnect with URL tags. How to fix this?
I dont understand the problem you give
Reply With Quote
  #16  
Old 11-30-2010, 07:48 PM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
However, you can also use this mod to hide content from guest
This is exactly what I would like to do. I've one usergroup of paying members and I would like that the text included inside two tags (like ) is shown only to that usergroup (and admin and supermod obviously) but not unregistered visitors.

I mean that I don't need the charge or buy function at all. I need just what I've said before...

How can I use it for this purpose?
Reply With Quote
  #17  
Old 11-30-2010, 11:51 PM
dcuellar dcuellar is offline
 
Join Date: Nov 2007
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh my god. I love you. Dark told me he would not release this for vbcredits. It was a huge part of our forum and literally killed it when we upgraded to 4.0. This fills in a huge gap.
Reply With Quote
  #18  
Old 11-30-2010, 11:52 PM
dcuellar dcuellar is offline
 
Join Date: Nov 2007
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work on 4.1? I know it was just released today, but has anyone tried it?

And how would I get it working with vBcredits II Deluxe?
Reply With Quote
  #19  
Old 12-10-2010, 11:59 AM
imported_stefan imported_stefan is offline
 
Join Date: Jun 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which simple point/money system do you suggest?
Reply With Quote
  #20  
Old 12-12-2010, 01:34 AM
pdtan pdtan is offline
 
Join Date: Jul 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_stefan View Post
Which simple point/money system do you suggest?
Reputation System, available on vBulletin
Reply With Quote
  #21  
Old 01-01-2011, 09:31 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please refrain from further comments on the origin of this code.

We have requested evidence to backup any claim, and at the moment I dont see anything to suggest this is a copy. It is most certainly not the same code with a few changes as suggested by previous posts. I have asked other staff members to take a look, but as it stands I see no reason to remove this.
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:12 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.07507 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
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_code
  • (1)bbcode_php
  • (5)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
  • (2)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
  • (4)postbit_attachment
  • (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_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