Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#85 2018-10-30 07:02:45
- Hidalgo82
- New Member
- Registered: 2018-10-30
- Posts: 1
Re: cbe_helpful: Visitors can rate articles (based on wlk_helpful)
Hi!
where i can change the function that does the INSERT into the table `cbe_helpful_votes`?
I have installed Nginx + Apache, and I would like to change the variable $_SERVER[‘REMOTE_ADDR’] to $_SERVER[‘HTTP_X_FORWARDED_FOR’].
I can not find it…
Offline
#86 2018-10-30 14:50:27
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: cbe_helpful: Visitors can rate articles (based on wlk_helpful)
Welcome to the forum, Hidalgo82. I see it on line 349.
In case you’re new to Textpattern: Go to Administration > Plugins > Click cbe_helpful and search for $_SERVER[‘REMOTE_ADDR’]
.
After you’ve done your edit, click save.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#87 2021-01-21 05:07:48
- alivato
- Member
- Registered: 2011-03-31
- Posts: 151
Re: cbe_helpful: Visitors can rate articles (based on wlk_helpful)
Is it possible to make the `+` and `-` not change to numbers? those (+ 5 -)
Just after clicking on `+` or `-` only the total score changed …
<txp:cbe_helpful>
<txp:cbe_helpful_yes />
<txp:cbe_helpful_score />
<txp:cbe_helpful_no />
</txp:cbe_helpful>
Last edited by alivato (2021-01-21 05:09:44)
Offline