Gain Gold/Money per Post

Started by Jamora1124, August 16, 2013, 03:13:41 PM

Previous topic - Next topic

margarett

The files you modified to try this :P

Load.php
Subs.php
Subs-Post.php
Display.template.php

By the way, when does that error occurs? When posting, when loading a page, ...?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Jamora1124

The error occurs after posting. It updated the gold the first time, but it doesn't add any additional gold for each post.

margarett

Will look into it later, hoping still today...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Jamora1124

No rush, dude. You've already helped quite a bit.

margarett

So, as far as I see, you had some edition issues :P

Subs.php, take a look at the first attachment. You are missing an instruction from the original function...


Load.php, you just searched and replaced the first of 2 occurrences of the same line (second attachment).


Display.template.php, you used double quotes on "echo" and I used single quotes. It should work nevertheless...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Jamora1124

Thanks margarett. I put the code in and it works fine. Looks like I just overlooked something. Though, this was also my first time tampering with the other files. I usually stick to making my own pages and adding it onto the forum. The Source and template files are a whole other league from where am I coding wise.

Advertisement: