![]() |
Yeah I figured it out last night.... All you have to do is add a mySQL update on newthread.php and newreply.php that adds x amount to your custom user field when posting or replying.
|
Where do i find this STEP 6: Edit TEMPLATE postbit
ADD Underneath "Posts: $post[posts]<br>" Like u know there is a file named moderator.php, which file is it in(i.e. templates.php, modertaor.php, etc) which one? |
Quote:
It's not a file, it's a TEMPLATE - the title of that step says "Edit TEMPLATE". You can find the postbit template by going to your Admin CP, clicking on Modify Templates, and Show All. You should see the postbit template then. |
Installed the hack on 2.2.4. It worked fine.
However, when trying to add a new style, vB gave me the following error message: Database error in vBulletin Control Panel 2.2.4: Invalid SQL: INSERT INTO replacementset VALUES (NULL,'New Style') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Does the hack alters the replacementset table? |
Nope ....
The hack utilizes a customer profile field which is fully supportable in vb, a php which pulls the data from that field and does some math before reinserting it, and a few quick template edits.... |
Actually, you might be having trouble with the points on reply mod that was released, in which case you will need to talk to the poster of it.
|
Thak you :cool:
|
Works fine in 2.2.5... :D
|
I'm curious, can this hack be modified to show commas? the users on my site earn up in the hundred thousands, and was wondering how it can be more readable, so instead of 1234567 it'd be 1,234,567
|
Hmm, maybe. I think you just need to change the type of mySQL info it holds. Like change it to an integer or something...
|
All times are GMT. The time now is 08:54 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|