|
AUP Content Approved 1 Month, 1 Week ago
|
Karma: 0
|
|
Hi.
I want to mark an article when it has been read by a user and points are assigned.
For example. I 've got an article and inside it I wrote {aup::content=50}.
I want that user read on article : " Read complete" (for example after title) when the user has read that article and points are been assigned to user, or "Read Not Complete" when article isn't been read by user.
Which code I've to insert to have this result?
I see I can modify the file sysplgaup_content.php but I don't know what insert on it..
For example :
if ( preg_match('#{AUP::pointsapproved}#Uis', $article->text, $m) )
...... and after?????
Thanks a lot
|
|
|
|
Last Edit: 2010/08/02 17:57 By jackinc.
|
|
|
Re:AUP Content Approved 1 Month, 1 Week ago
|
Karma: 0
|
|
Is there a function on lphaUserPointsHelper::...... to see if points are been approved or not for that article??
|
|
|
|
|
|
|
Re:AUP Content Approved 1 Month, 1 Week ago
|
Karma: 43
|
|
No this function not exist.
But I don't understand your first question. Can you explain more ?
|
|
|
|
All components on this site are free but...
Ever thought about giving something back?
Please make a donation if you want to support its continued development. Your donations help by hardware, hosting services and other expenses.
|
|
|
Re:AUP Content Approved 1 Month, 1 Week ago
|
Karma: 0
|
|
Sorry for my bad english...
I try to explain what I want to do....
I give some points everytime an register user read an article with {aup::content=50}
(the approvation is not automatically but manually) and that user must go on "Personal page" to see if that points are been approved or not....
I want all register users can to see if the points are been approved for that article, ON ARTICLE...
For Example an article like this :
Title : MY HOUSE
My house is very beautiful place............
become
Title : MY HOUSE 50 Points Approved (or 50 points waiting for approve)
My house is very beautiful place.....
Thanks a lot for your help
|
|
|
|
|
|
|
Re:AUP Content Approved 1 Month ago
|
Karma: 43
|
|
Ok, I understand. It's custom work. You must hack the plugin content for AlphaUserPoints to do this.
|
|
|
|
All components on this site are free but...
Ever thought about giving something back?
Please make a donation if you want to support its continued development. Your donations help by hardware, hosting services and other expenses.
|
|
|