Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
jimmo
Worker
Worker


Joined: Dec 08, 2005
Posts: 107

PostPosted: Wed Aug 16, 2006 8:58 am Reply with quote

Hi All!

I have found a couple of places where RavenNuke is not updating the points: submitting news id=4 and recommending the site to a friend id=3. Although you can change the points that would be assigned, the points are never updated because update_points() is never called.

In the case of submit news, it is not even called in the original 7.6 code, so it is not surprising that it is not included in RavenNuke. In the case of the Recommend_Us module, it exists in the original 7.6, but not RavenNuke. Since this module was completely reworked (apparently to prevent spamming), I am also not surprised that it got left out considering the lack of enthusiasm for the point system.

As I mentioned in another post, I am in the process of implementing a combination of the standard nuke groups and the NSN Groups, so this is a somewhat important aspect for me. Finding an appropriate place in the code is not really the issue. I am more or less just pointing this out to anyone who cares.

regards,

jimmo
 
View user's profile Send private message
jimmo
PostPosted: Wed Aug 16, 2006 9:32 am Reply with quote

Turns out the News module does all of the work itself. The function postStory() in News/admin/index.php updates the database itself, without calling update_points.
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Aug 16, 2006 1:09 pm Reply with quote

Eh go figure. Blame FB for his inconsistant script coding

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©