Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-23-2006, 02:42 AM
eldertaco's Avatar
New Pligger
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Changing Vote/Votes/Voted using Admin Panel

Hi
I'm not sure if this is a bug as such or just hasn't been thought of.

I'm running Pligg Beta7 build 278 with the mollio-beat template that comes packaged.

If I use "Admin Panel->Modify Language->Section: VOTING" and change the values of "PLIGG_Visual_Votes","PLIGG_Visual_Vote_Cast" and "PLIGG_Visual_Vote_For_It" to something other than Vote/Votes/Voted, I thought that the change of "PLIGG_Visual_Vote_Cast" would be reflected on the site when clicking "vote" (or whatever I changed it to). However in order to change the text that appears after you click "vote", it is necessary to edit "js/xmlhttp.js" and "js/xmlhttp.php" and change the text in there as well.

Is this something that could be changed so that editing the values in the Modify Language section was all that was needed to change the "voted" text?
Reply With Quote
  #2 (permalink)  
Old 09-23-2006, 11:08 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Hm... I just tested this on my site and changed "voted" to say something else and it worked fine for me. I didn't have to edit xmlhttp.js and .php. I changed it to "blah blah" as you can see here http://img159.imageshack.us/img159/2...7242812yd8.png
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 09-24-2006, 12:11 AM
eldertaco's Avatar
New Pligger
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Ahhh... You had me wondering what was going on there for a second.

Did you just change the text and then look at the front page, and see that the text on the articles you had already voted for had changed to 'blah blah'?

If you create a new story, and then click the vote button for it, you'll see that it won't change to 'blah blah' like you have set, but instead will change to 'voted' as hardcoded in the xmlhttp.js and php files
If you then reload the page, the expected value of 'blah blah' will show up..

I'm just wondering if it would be possible to have the xmlhttp.js and .php files reference the "PLIGG_Visual_Vote_Cast" variable instead of being hardcoded to say 'voted'.

Cheers.
Reply With Quote
  #4 (permalink)  
Old 09-24-2006, 12:56 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Ah, thanks for clerifying how you came about the problem. I'll definately take a look at this.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg Admin Panel Redesign Yankidank Pligg News 3 11-04-2008 01:10 AM
How can I access my admin panel? Robert General Help 2 09-09-2008 12:31 AM
Upgraded to 9.5, now I can't get to admin panel choz Installation and Upgrade Help 1 06-11-2007 05:49 PM
Cannot edit in Admin Panel trh792 General Help 4 05-03-2007 08:27 AM
Admin panel not working after 9.5 upgrade g.ciprian Installation and Upgrade Help 4 05-01-2007 02:49 PM


Search Engine Friendly URLs by vBSEO 3.2.0