vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Download Credit System (https://vborg.vbsupport.ru/showthread.php?t=78953)

ChrisSy 03-30-2005 06:44 PM

what about a way of limiting how many credits a member can daily use?

lasto 03-30-2005 06:49 PM

thats an excellant idea ChrisSy - lets hope its possible - say admin specify in admincp how much each user can use and if they go over that quoto then it will show em the error screen.

Deaths 03-31-2005 06:48 AM

Hmm, I guess that could be done by adding an extra field, which resets dayly...

NitroMan 04-01-2005 09:58 AM

can someone help me i have done this hack and
it wont show how many credits that u have

lasto 04-01-2005 10:03 AM

it wont show credits m8 till you actually earned some.

Simple test - whatever forum u set up to allow credits in - go in there make a new thread and add a small rar as an attachment then your credits will show up.

NitroMan 04-01-2005 10:24 AM

i left it balnk like tnguy3n said to do
and still dosent show

lasto 04-01-2005 10:36 AM

u left what blank m8 ?
u still need to select a forum in admincp as to where the credits will be added.without this no credits will be issued.

put a forumid in the credit system in admincp then go do a new thread - it will work then.

NitroMan 04-01-2005 10:46 AM

lasto i did that also as u suggested and it still didnt work

NitroMan 04-01-2005 10:48 AM

and i keep getting this everytime i try to install it

There seems to have been a slight problem with the ###### database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE user ADD credits INT(10) DEFAULT '0' NOT NULL;
mysql error: Duplicate column name 'credits'

mysql error number: 1060

Date: Friday 01st of April 2005 06:46:36 AM
Script: http://www.############.com/forums/a...php?op=install
Referer: http://www.###########.com/forums/ad..._installer.php
Username:
IP Address:

NitroMan 04-01-2005 10:50 AM

i have went in and removed the columns called credit
in the db and still when it gets to that point it stops

lasto 04-01-2005 11:05 AM

u seem to be running the install again - DONT

the bit u need to set up is in vbull admincp/ then go to options scroll down to you see the download credit options.

NitroMan 04-01-2005 11:10 AM

lasto i set the forums part i set it to 2,3 and still didnt work

lasto 04-01-2005 11:30 AM

just been to your forums m8 - maybe u need to go over the hack again.Its a real easy one to install so its got to be a problem on your side as this hack does work as ive tested it to death.

NitroMan 04-01-2005 12:11 PM

ok lasto go here and look
it still dosent show
how many credits u have only how many post

http://www.nitromanslounge.com/forum...hp?p=83#post83

as u can see here it is installed right

lasto 04-01-2005 12:20 PM

got to register to see that m8 - anyway if you are admin you wont see the credit in your own threads because in the setting above u have excempted yourself.

Remove the 6 and try to do a thread in the section which you desinated and see what happens then.

NitroMan 04-01-2005 12:26 PM

still dosent show i have posted as a admin and as a supermoderator
and removed the 6,7 still dosent show
i removed the 6,7 before i posted as a supermod

NitroMan 04-01-2005 12:41 PM

lasto what i am talking about is it is suspost to show how many credits u have available for downloading
and as u can see here it doesnt show it

Deaths 04-01-2005 12:45 PM

Are you sure you edited your postbit template, and not your postbit_legacy?

NitroMan 04-01-2005 06:35 PM

thanks deaths that is what it was i went by the install file and thought it was postbit_legacy

thanks for helping deaths

tnguy3n 04-02-2005 03:07 AM

Sorry guys, for now, this hack only has installer which insert phrases & settings to vb database. I'll write an un-installer & update instruction in some time, hopefully this weekend. :)
and yeah, you edit postbit or/and postbit_legacy depending on what postbit style you use.

Julie 04-02-2005 11:06 AM

Just bumping my question from before, with a slight editing :)

I can't see other's points, I just see my own on everyone elses posts. F.ex, user1 has 5 points, user2 has 2 points. When user1 views a post by user2, user1 sees 5 points, even though user2 has 2 points... Did that make sense?

I can't see other's real point count, just my own on everyone elses...

Anyone know why?

lasto 04-03-2005 10:44 AM

lo tnguy3n any update on this ?

Skyline_GT 04-03-2005 10:56 AM

very very nice mod

PixelFx 04-03-2005 11:58 AM

once 1.2 is out and stable, this looks like a hack of the month for sure... :) I clicked install although prob won't install it till 1.2 .. looks great though.

lasto 04-03-2005 02:29 PM

yep im waiting for update to this and agree once its sorted (minor problems its deffo HOTM) and its even better now that certain pics can be excluded.

Skyline_GT 04-03-2005 08:34 PM

I hope the 1.2 version will be out later today:D

Deaths 04-04-2005 06:52 AM

I'm still waiting for tn's go signal :/

VBUsers 04-05-2005 07:55 AM

Quote:

Originally Posted by Julieh
Just bumping my question from before, with a slight editing :)

I can't see other's points, I just see my own on everyone elses posts. F.ex, user1 has 5 points, user2 has 2 points. When user1 views a post by user2, user1 sees 5 points, even though user2 has 2 points... Did that make sense?

I can't see other's real point count, just my own on everyone elses...

Anyone know why?

i have this same error can anyone help??? i see my own points on all of my members posts. this is the code i entered into the postbit legacy

PHP Code:

$vbphrase[posts]: $post[posts]
 |<
br><if condition="$vboptions[credit_mode] AND $bbuserinfo[credits]">Credits$bbuserinfo[credits]</if> 


tnguy3n 04-05-2005 08:00 AM

sorry guys, I've been taken up by some other priorities. I postponed this project til Wednesday as I'll have some spare time.

@ lowandloudinc: user following code in postbit_(legacy)
Code:

$vbphrase[posts]: $post[posts]
|<br><if condition="$vboptions[credit_mode] AND $post[credits]">Credits: $post[credits]</if>


Julie 04-05-2005 12:21 PM

Quote:

Originally Posted by tnguy3n
sorry guys, I've been taken up by some other priorities. I postponed this project til Wednesday as I'll have some spare time.

@ lowandloudinc: user following code in postbit_(legacy)
Code:

$vbphrase[posts]: $post[posts]
|<br><if condition="$vboptions[credit_mode] AND $post[credits]">Credits: $post[credits]</if>


Thanks, that did the trick ;)

dcarr 04-07-2005 08:35 PM

ok I got the pictures to work..but I also have the forumid problem. I've only got one forum chosen..yet every forum that has a zip or rar file is included. More importantly, I've had the hack running for 3 days and not 1 member of my board has a credit. I have the system set to give 1 credit for 1 post...but every member of my board sitll has 0 credits...even thouse with over 300 posts. Any ideas?

VBUsers 04-07-2005 09:23 PM

they get credits after th hack. now when they post they get em. i dont think it back dates em. and im not sure about the setting it to one forum. i havent done that but ill try it and see if i can help you

lasto 04-07-2005 09:52 PM

any update on this as yet ?

Skyline_GT 04-09-2005 01:37 AM

yea. any update?

lasto 04-11-2005 12:16 PM

any updates because hate to install this version on a live board and then u release a new one.Held off as long as possible can - Weds came and went :(

tnguy3n 04-11-2005 04:26 PM

sorry, i still didn't have much of time to wrap up this hack. I'll look into it after classes today. :squareeyed:

PixelFx 04-13-2005 11:55 PM

take your time, classes important, let us know when you have update ready ;)

Skyline_GT 04-18-2005 09:18 AM

I got this error when runnig the insteller..

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO setting VALUES ('credit_mode', 'creditsystem', '0', '0', 'yesno', 1, 0, 0);
mysql error: Column count doesn't match value count at row 1


lasto 04-18-2005 09:30 AM

thought an update had been posted then :(

Marco van Herwaarden 04-18-2005 09:44 AM

Quote:

Originally Posted by Skyline_GT
I got this error when runnig the insteller..

You must be running a hack that has modified your setting table then.


All times are GMT. The time now is 03:15 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.01400 seconds
  • Memory Usage 1,810KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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