vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Point Market System 3.1x (https://vborg.vbsupport.ru/showthread.php?t=232676)

Hornstar 01-11-2010 05:55 AM

Very nice work! I've always used vbplaza so if this ends up becoming just as good as that I might end up just using this. Nice to see someone put effort into a free release for a shop hack. Thanks.

DigitalDark 01-11-2010 06:12 AM

I've one idea/suggestion... I've seen that the user name color is only working in Internet Explorer, but not in Firefox. I don't know if the code is using some css for color the nicks, but in vBulletin the color of name changed via admicp, works in both explorers. It would be possible to use for this
PHP Code:

 <red>Username</red

??
Another thing that could be work in this project is buy by points the rank of a user. So a user who have collected a great ammount of points can use a special rank. Another thing is buying extra emoticons or topic icons, only available buying by points.
Thanks for all, I like this mod, and I think that it will be the best!

AzzidReign 01-11-2010 09:48 AM

Is this bigboard tested?

maidos 01-11-2010 10:10 AM

any reply regarding integrating with downloadsII

TheMayhem 01-11-2010 10:19 AM

Quote:

Originally Posted by DigitalDark (Post 1952516)
I've one idea/suggestion... I've seen that the user name color is only working in Internet Explorer, but not in Firefox. I don't know if the code is using some css for color the nicks, but in vBulletin the color of name changed via admicp, works in both explorers. It would be possible to use for this
PHP Code:

 <red>Username</red

??
Another thing that could be work in this project is buy by points the rank of a user. So a user who have collected a great ammount of points can use a special rank. Another thing is buying extra emoticons or topic icons, only available buying by points.
Thanks for all, I like this mod, and I think that it will be the best!

I've applied a fix in 1.0.2 for that.

Yes it's big board tested.

TheMayhem 01-11-2010 10:42 AM

Quote:

Originally Posted by maidos (Post 1952607)
any reply regarding integrating with downloadsII

Explain what kind of items you'd want with DownloadsII or features and I'll try to come up with something.

maidos 01-11-2010 11:03 AM

Quote:

Originally Posted by maidos (Post 1952235)
can you integrate with downloadsII mods
allow user to get points by posting replies, uploading files to the donwloadsII
so when usergroup download from downloadsII thir points get taken

welll thats basically this

Vaupell 01-11-2010 11:18 AM

wery nice, love the buying additional content with content earned points..

***** stars and motm.

meissenation 01-11-2010 12:49 PM

Any ability to make it so this would work with real cash? It's one of the add-on community's biggest short comings is that there's all these store add-ons for using fake cash but no integrated add-on for selling products through our vBulletin forums. Seems it would be an easy thing for a coder to convert it to work with Paypal but yet it never seems to happen.

Deadly Stream 01-11-2010 03:04 PM

I've installed it on my development boards and so far I like it but I'll wait til a few more features have been added before I install it on my live site.

For the purchases such as change the color of the username etc, could there be an option added to reset it to default? If that is possible, something that would be pretty cool is an option where the admin sets a time in either minutes/hours/days etc and if the user resets the purchase within that time, the points spent on said item are refunded.

elwachiman 01-11-2010 03:50 PM

1 Attachment(s)
WHEN I AM GOING TO EDIT THE PHRASE IN PERSONALIZED GIVING THE OPTION OF REPEATS IN THE TWO CHOICES, AMOUNT TO DONATE AND MAKE A DONATION YOU ARE repeats the same View screenshot

A TIP: PUT THE OPTION OF THE ADMINISTRATOR MAY ARISE ACP POINTS OR THROUGH WHICH MAY MODIFY THE NUMBER OF POINTS IN PERSON TO USERS.

DigitalDark 01-11-2010 04:40 PM

Idea for this mod:

Custom objects or actions that the staff of a forum can give to the user.The user buy the item and have to wait to a moderator to receive the purchased item...
For example a medal o a trophy with a custom image.
A new rank image...etc...

GrossKopf 01-11-2010 05:34 PM

Had a user change his user title and it came out like this:

<SPAN class='glow_FFFFFF'><font color='000080'>Coolest Senior Member</font></span>

Here's a sample post by him: http://flotgaming.net/forums/showthr...ll=1#post73408

When I edit his user record in the admin CP, it doesn't show that HTML.

Two feature requests: Give points when someone donates through vb and allow a preview of the effect bought before it's applied.

EDIT: Another request - undo. The ability to remove glows and colors that you bought

TheMayhem 01-11-2010 07:34 PM

Quote:

Originally Posted by GrossKopf (Post 1952915)
Had a user change his user title and it came out like this:

<SPAN class='glow_FFFFFF'><font color='000080'>Coolest Senior Member</font></span>

Here's a sample post by him: http://flotgaming.net/forums/showthr...ll=1#post73408

When I edit his user record in the admin CP, it doesn't show that HTML.

Two feature requests: Give points when someone donates through vb and allow a preview of the effect bought before it's applied.

EDIT: Another request - undo. The ability to remove glows and colors that you bought

I muffed up on the class for a white color. I'll apply a fix for later this week. Keep up the good work on finding bugs :)

DigitalDark 01-11-2010 09:37 PM

Another thing is the message for guest users who tries to access the Market. The message says that:

Quote:

The Points Market is currently disabled. The point field entered into the Point Market Control Panel is incorrect or was not found.
And yes, the glow is failing... but in member profile works well.
It would be possible to say: "You can't access to this area. Only members can access it"

And idea for this is to buy a certain permission which allows to the user acces a certain forums...
Other idea is accessing a privated style of the forum...
Other idea is to buy a certain medal... like a trophy... The medal can be a simple image showed in the postbit or profile. I think that you can add some section called trophys... And the admins can create trophys with a custom image and set a price for them...
There is a lot of ideas, but I know that coding this is very difficult, sorry if I'm boring you...

Thanks!

TheMayhem 01-11-2010 10:55 PM

Quote:

Originally Posted by DigitalDark (Post 1953076)
Another thing is the message for guest users who tries to access the Market. The message says that:


And yes, the glow is failing... but in member profile works well.
It would be possible to say: "You can't access to this area. Only members can access it"

And idea for this is to buy a certain permission which allows to the user acces a certain forums...
Other idea is accessing a privated style of the forum...
Other idea is to buy a certain medal... like a trophy... The medal can be a simple image showed in the postbit or profile. I think that you can add some section called trophys... And the admins can create trophys with a custom image and set a price for them...
There is a lot of ideas, but I know that coding this is very difficult, sorry if I'm boring you...

Thanks!

Haha no your not. First on the visitor glitch option. I discovered what you were talking about shortly after I released 1.0.1. I just changed it so that if the usergroup is a visitor usergroup and it cant find a point column to display a standard No Permissions error.

As for trophies, I was going to spend some time later tonight and either integrate it with an awards hack or do as you were saying and add trophies to postbit. Both won't be that tough so we shall see.

Right now new features for 1.0.2 are:
- Steal History
- Donation History
- Steal Prevention (Purchase an item so you are immuned from people trying to steal points from you)

And I'm going to be adding an option to undo a purchase. I might do a basic and and an advance feature where a basic allows you to undo a purchase after an X amount of time and an advance feature allows you to undo a purchase at any point in time. Certain purchases such as donations and stealing points can't be undone as that could just get too confusing on my part even though everything is logged.

And a number of bug fixes :) I'm thinking Wednesday is a good day to release things based on my current progress.

Pedregal 01-12-2010 01:41 AM

I have a problem.

In the Custom Title (HTML) the field are very limited.

Example. I cant put (for example <marquee PUT YOU PHRASE HERE /marquee

Only i cant put: <marquee>PUT YOU PHR

Exist any form yo i change the limit of the field?

Greetings.

Installed and Nominated.

TheMayhem 01-12-2010 02:33 AM

Quote:

Originally Posted by Pedregal (Post 1953202)
I have a problem.

In the Custom Title (HTML) the field are very limited.

Example. I cant put (for example <marquee PUT YOU PHRASE HERE /marquee

Only i cant put: <marquee>PUT YOU PHR

Exist any form yo i change the limit of the field?

Greetings.

Installed and Nominated.

The user title field is controlled by a maximum characters. Fortunately, you can edit that right now if you want as it is controlled by a vBulletin setting. Go to: vBulletin Settings ---> User Profile Options ----> and then edit the User Title Maximum Characters field. Edit that number to the amount of characters you want, click save, and it should allow for you to put more into your user title.

Switch3130 01-12-2010 03:54 AM

Have you thought about adding a gift giving option like vBplaza offered?

I'm really considering adding this as it seems promising, and you seem to be about making this better as time goes by.

Hopefully you can keep updating this and don't abandon it.

Trek 01-12-2010 04:29 AM

Quote:

Originally Posted by Switch3130 (Post 1953263)
Hopefully you can keep updating this and don't abandon it.

I'm sure your donations help keep him interested in updating it. ;)

TheMayhem 01-12-2010 04:44 AM

Quote:

Originally Posted by Switch3130 (Post 1953263)
Have you thought about adding a gift giving option like vBplaza offered?

I'm really considering adding this as it seems promising, and you seem to be about making this better as time goes by.

Hopefully you can keep updating this and don't abandon it.

Yes. I'm either going to add an independent award feature that would show up on postbits & member profile pages where there is a little icon. OR, I am going to integrate it with an Awards hack. I just don't know which and am very torn on what to do.

As of right now the following bugs I have fixed for Wednesday's release:
** Users can no longer donate to self
** Guests get standard error instead of Point Missing Field Error
** Donation Instruction Phrase Displayed Twice
** Username Color not displaying on Firefox Browser
** User Title Color not displaying on Firefox Browser
** User Glow not displaying on Firefox Browser


If I'm missing something... please...let...me...know :)

Josh1 01-12-2010 04:59 AM

Mayhem: Your product is awesome. I'm going to port it to the custom point system I use for the forums.

Crrrazzzy 01-12-2010 07:02 PM

once someone purchases usertitle glow... how do you turn it off?

TheMayhem 01-12-2010 08:07 PM

Quote:

Originally Posted by Crrrazzzy (Post 1953808)
once someone purchases usertitle glow... how do you turn it off?

As of 1.0.2 there is a refund option that will allow you to delete a usertitle glow.

Oh and 1.0.2 is now officially released. You'll notice some of the changes I applied was based on what users wanted from this product, which is the direction I am trying to take the Point Market System since the possibilities are endless with these types of major products.

Enjoy :)

Skreech94 01-12-2010 08:16 PM

How do you change the navbar text? It currently says Market and I want it to say Store.

TheMayhem 01-12-2010 08:23 PM

Quote:

Originally Posted by Skreech94 (Post 1953876)
How do you change the navbar text? It currently says Market and I want it to say Store.


Go to Languages & Phrases
- Select the Search in Phrases Manager

In the Search for Text put in: market
-Select Point Market for the product drop down box
-Select Exact Match as Yes in the radio button
Click Find

On your search results you will find something that says Market in a colored lettering with an edit button right next to it. Click that edit button.

In the translation box type in: Store

Click the save button and it will update the text to say: Store :)

GrossKopf 01-12-2010 08:55 PM

How do you do the refunds?

TheMayhem 01-12-2010 09:11 PM

Quote:

Originally Posted by GrossKopf (Post 1953904)
How do you do the refunds?

A member purchases an item. Certain items are refundable and certain items are not. Once they purchase the item they simply need to go back to the category of that item where it displays the list of items. They will see a link that says Refundable: Yes or it will say Refundable: No. They need to click on the Yes link and it will show their last purchase of that item IF they purchased it otherwise it will say they haven't purchased the item.

Once they are on the refund page and are within the given time period specified by you in their usergroup permissions, they simply click the button that says refund and it will refund their money. The item can only be refunded if it is within the given time period set by you. (Think of it as a timeout). By default I believe it is set to 24 hours but you can change it to whatever you like.

Here are two attachments on what I'm talking about
https://vborg.vbsupport.ru/attachmen...8&d=1263333150
https://vborg.vbsupport.ru/attachmen...0&d=1263333150

elwachiman 01-13-2010 02:47 AM

1 Attachment(s)
installed.
the mod is excellent but note one thing: the colors only seen in the showthread on topic, but when he gets a private message disappears color postbit user a way to fix it .. see screenshots

stuky4ever 01-13-2010 06:57 AM

I tried to edit group permissions and i got a database error.

Database error in vBulletin 4.0.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Owner',
`description` = '',
`usertitle` = 'Owner',
`opentag` = '<span style=\"color:#104E8B;font-size:20pt;\">',
`closetag` = '</span>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`market_permissions` = 'Array',
`market_discount` = '0.0000',
`market_maxdonate` = '0.00000',
`market_undo_time` = '',
`market_undo_penalty` = '',
`forumpermissions` = '16777215',
`genericpermissions` = '2113929151',
`attachlimit` = '0',
`pmquota` = '500',
`pmpermissions` = '7',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions2` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '245759',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`albumpermissions` = '255',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '262143',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '65535'
WHERE usergroupid=6;

MySQL Error : Unknown column 'market_undo_time' in 'field list'
Error Number : 1054
Request Date : Wednesday, January 13th 2010 @ 02:56:29 AM
Error Date : Wednesday, January 13th 2010 @ 02:56:29 AM
Script : http://domain.com/forums/admincp/use....php?do=update
Referrer : http://domain.com/forums/admincp/use...&usergroupid=6
IP Address : XXXXXXXXXXXXX
Username : Stuky
Classname : vB_Database
MySQL Version : 5.0.81-community

TheMayhem 01-13-2010 07:12 AM

Quote:

Originally Posted by stuky4ever (Post 1954197)
I tried to edit group permissions and i got a database error.

Database error in vBulletin 4.0.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Owner',
`description` = '',
`usertitle` = 'Owner',
`opentag` = '<span style=\"color:#104E8B;font-size:20pt;\">',
`closetag` = '</span>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`market_permissions` = 'Array',
`market_discount` = '0.0000',
`market_maxdonate` = '0.00000',
`market_undo_time` = '',
`market_undo_penalty` = '',
`forumpermissions` = '16777215',
`genericpermissions` = '2113929151',
`attachlimit` = '0',
`pmquota` = '500',
`pmpermissions` = '7',
`pmsendmax` = '5',
`pmthrottlequantity` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions2` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '245759',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`albumpermissions` = '255',
`albumpicmaxwidth` = '600',
`albumpicmaxheight` = '600',
`albummaxpics` = '100',
`albummaxsize` = '0',
`usercsspermissions` = '63',
`visitormessagepermissions` = '63',
`socialgrouppermissions` = '262143',
`maximumsocialgroups` = '5',
`groupiconmaxsize` = '65535'
WHERE usergroupid=6;

MySQL Error : Unknown column 'market_undo_time' in 'field list'
Error Number : 1054
Request Date : Wednesday, January 13th 2010 @ 02:56:29 AM
Error Date : Wednesday, January 13th 2010 @ 02:56:29 AM
Script : http://domain.com/forums/admincp/use....php?do=update
Referrer : http://domain.com/forums/admincp/use...&usergroupid=6
IP Address : XXXXXXXXXXXXX
Username : Stuky
Classname : vB_Database
MySQL Version : 5.0.81-community

Are you upgrading or doing a fresh install?

I just retried it on an upgrade from 1.0.1 to 1.0.2 and it worked perfectly fine. In addition, I tried it as a fresh install and that also worked. Please make sure you are using the correct version of 1.0.2 and reimport the 1.0.2 pointmarket product file (select overwrite to yes). Afterwards retry and let me know what you get.

Is anyone else having this issue?

stuky4ever 01-13-2010 08:30 AM

Fresh install, Im using VB 4.0.1 Maybe that could be the problem?

TheMayhem 01-13-2010 02:47 PM

I thought it might be too so I upgraded to 4.0.1 and did a fresh install but it still worked. Anyways the fix is easy you just need to run two queries. I sent you a pm as I really want to figure out why it isn't working for you on a fresh install but it is on me.

Is anyone else having this issue or is it an isolated problem?

mandingo 01-13-2010 03:06 PM

Quote:

Originally Posted by TheMayhem (Post 1954497)
I thought it might be too so I upgraded to 4.0.1 and did a fresh install but it still worked. Anyways the fix is easy you just need to run two queries. I sent you a pm as I really want to figure out why it isn't working for you on a fresh install but it is on me.

Is anyone else having this issue or is it an isolated problem?

I upgraded the market 2 days ago and upgraded vbulletin yesterday. Everything went smooth.

TheMayhem 01-13-2010 03:32 PM

Quote:

Originally Posted by mandingo (Post 1954516)
I upgraded the market 2 days ago and upgraded vbulletin yesterday. Everything went smooth.

Good it might just be an isolated issue then :)

Damien1990 01-13-2010 05:12 PM

Thanks. When you donate to another user, does it send them a private message saying that a user has donated them points? If it doesn't, could there be the option of sending them a private message? And on the donation page could there be an option of giving a reason as to why you're donating the points to another user, which will be sent in a private message or something to the user who is receiving the points?

Also, when I try accessing Donation History, it says "vBulletin Message", with nothing below it.

abode 01-13-2010 05:27 PM

could the same mod be upgraded from the last V

TheMayhem 01-13-2010 06:08 PM

Quote:

Originally Posted by Damien1990 (Post 1954652)
Thanks. When you donate to another user, does it send them a private message saying that a user has donated them points? If it doesn't, could there be the option of sending them a private message? And on the donation page could there be an option of giving a reason as to why you're donating the points to another user, which will be sent in a private message or something to the user who is receiving the points?

Also, when I try accessing Donation History, it says "vBulletin Message", with nothing below it.

I can confirm this is a bug and will be fixed for 1.0.3. The easiest way for it to be fixed in the mean time is to have a user purchase the Stolen Point History and it will then work for the Donation History. Otherwise wait until this weekend for my next release.

Quote:

Originally Posted by abode
could the same mod be upgraded from the last V

Yes, to upgrade simply download the uploaded attachment in this thread. Unzip it and reupload (overwrite) all files. Then reimport the product and select yes to overwrite and ignore version.

DigitalDark 01-13-2010 10:02 PM

I've set up discount for admins of the forum 100% so its free to get anything. I've "purchased" a glow for me But I can't get the previous user title without the glow. How can I revert the glow? If I go to the market I can see have a refund for this glow but I when I click refund nothing happens... Thanks!

TheMayhem 01-13-2010 10:49 PM

Quote:

Originally Posted by DigitalDark (Post 1954914)
I've set up discount for admins of the forum 100% so its free to get anything. I've "purchased" a glow for me But I can't get the previous user title without the glow. How can I revert the glow? If I go to the market I can see have a refund for this glow but I when I click refund nothing happens... Thanks!

If you click the button and it doesn't load anything or change pages that means the glow is disabled. For time Remaining it will either say Expired or Item Already Refunded. If it says time expired it is because the time you have set in the admin cp for a refund is less then the time elapsed from the purchase time. To fix this simply set the hours in the admin cp for the usergroup setting to a far longer time period such as 500000 hours and you should be able to refund your item afterwards.


If that doesn't work then let me know and I'll investigate it to see if it is a glitch.


All times are GMT. The time now is 04:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03089 seconds
  • Memory Usage 1,871KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete