Elxis CMS Forum
Extensions => Templates => Topic started by: ks-net on November 02, 2008, 06:03:12
-
value of attribute "name" must be a single token.
…title="OFF" align="bottom" name="star OFF" border="0" /><img src="http://elxi....
This attribute can not take a space-separated list of words as a value, but only one word ("token"). This may also be caused by the use of a space for the value of an attribute which does not permit it.
in voting system of cource
as it says mast not be a space in star OFF
i think that there is no other problem if i modify mosvote.php line 29-31 and change star OFF star ON to star_OFF star_ON
-
ks please write file and line number.
Is it on a third party bot (ajax vote)?
-
I was reported this before John ,
File : \mambots\content\mosvote.php
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'star ON', 1, 'bottom');
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'star OFF', 1, 'bottom' );
To :
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'starON', 1, 'bottom');
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'starOFF', 1, 'bottom' );
-
Fixed! (Renamed to "staron" and "staroff")
-
ks please write file and line number.
Is it on a third party bot (ajax vote)?
sorry... i was sleeping till 15.00 :P
well i had wrote all details you asking in your post.
i am checking now this topic as [solved]
-
You can edit the file : \mambots\content\mosvote.php
Find :
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'star ON', 1, 'bottom');
Replace it with :
$starImageOn = mosAdminMenus::ImageCheck( 'rating_star.png', '/images/M_images/', NULL, '/images/M_images/', 'ON', 'staron', 1, 'bottom');
And find :
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'star OFF', 1, 'bottom' );
Replace it with:
$starImageOff = mosAdminMenus::ImageCheck( 'rating_star_blank.png', '/images/M_images/', NULL, '/images/M_images/', 'OFF', 'staroff', 1, 'bottom' );
However it is fixed for next version :)
-
yes i did that last night... Star_Off etc. my choice
then fell for sleeping...
but today john remind me the ajax-vote :o
by the way.. can this bot published selectively ..
it is not necessarily to vote for example... privacy&policy page!