Notifications
Clear all

[3.4.2]No favourites

16 Posts
6 Users
0 Reactions
5,414 Views
(@demoniavbh)
Posts: 15
Active Member
Topic starter
 

Hi!

I reacently installed this incredible program (obviously 3.4.2 version) and I'm amazed on how many options it has, increadible, really.
Well, i managed to solve some issues but not all of them.

Currently I'm having a problem with favoritizing authors or stories.
When I click to set a sory as favourite, it won't do anything.
When I click to set an author as favourite, it will go to my stadistics and tell me that there aren't any results...

I have checked the settings and I have set the "Having favourites" option to Yes.

I don't have any modules installed

I have translated almost everything into spanish but I don't think I could mess anything up with it, or could I?

The link
http://www.tokiohotelspain.com/fanfics/index.php

User: test
Pass:test

PS: When I'm finished translating everything I'll give it to you for others to download it πŸ˜‰
Should I also post some translating issues that I'm having here or should I open a separated topic?


 
Posted : 10/04/2008 12:59 pm
(@itanshi)
Posts: 381
Reputable Member
 

Well, I couldn't say if the Spanish would change anything or not hence I believe the policy is to keep it in its original form for testing purposes.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 10/04/2008 1:38 pm
(@demoniavbh)
Posts: 15
Active Member
Topic starter
 

The thing is that I tested it before translating, but I dind't notice that  till now:S


 
Posted : 10/04/2008 2:20 pm
(@tammy)
Posts: 2577
Member Moderator
 

Are you filling out the comments form and hitting "submit"?  In 3.x you now have the option of leaving a comment for why the story/author is your favorite. You can leave the comment blank, but you must hit submit for the favorite to be added.


 
Posted : 10/04/2008 4:14 pm
(@demoniavbh)
Posts: 15
Active Member
Topic starter
 

I don't even get the comments box when adding an author...
Adding stories now work...But how to unfav something?


 
Posted : 10/04/2008 8:30 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

go to your member account panel, and click on the "Manage Favorites" link. Pick which favorites you want to edit, and from there you can edit or remove any of them.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 10/04/2008 8:42 pm
(@demoniavbh)
Posts: 15
Active Member
Topic starter
 

No, I can't a way to unfav something. I don't get any option to remove from favourites

And when I try to add a fav, there's a difference between the story and author's url..

http://www.tokiohotelspain.com/fanfics/user.php?action=favau&add=1&author=5,
http://www.tokiohotelspain.com/fanfics/user.php?action=favst&add=1&sid=14

There's a , at the end of the "add author to favorites" link, and that's the problem... Where should it be located to go and erase it?


 
Posted : 10/04/2008 9:13 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Three things to try:

1. Check in the Admin area the U- Member Account panels and make sure that Manage Favorites is not hidden (unchecked).

2. Try using the CSSZen skin and see if you can delete favorites from that.
http://www.tokiohotelspain.com/fanfics/index.php?skin=CSSZen

3. Check your .tpls and make sure that the favcomment.tpl includes
{commentoptions}

(By the way, you have this error showing up at the top of your site:
Notice: Use of undefined constant _REVIEWERS - assumed '_REVIEWERS' in /home/tokioho/public_html/fanfics/blocks/info/info.php on line 52
It looks like you forgot to translate Reviewers.)

To add authors to favorites:
/user.php?uid=(member number goes here)&action=favau&author=(author number goes here)
To remove authors from favorites:
/user.php?action=favau&delete=(author number goes here)


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 10/04/2008 10:04 pm
(@demoniavbh)
Posts: 15
Active Member
Topic starter
 

Ok... changed skin to CSSZen and there I could remove favourites. So it has to do with the skin then?
--------------

I don't know in which .php file is the line with the extra "," error that appears in the url when adding a fav author..

-------------
The reviewers error...I knew it, but don't know hay, if I have translated that in the info:

define("_NEWESTMEMBER", "Último miembro");
define("_REVIEWERS", "Opinantes");


 
Posted : 10/04/2008 10:24 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Yes, it has something to do with the skin. Look in the favcomment.tpl.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 10/04/2008 10:33 pm
(@tammy)
Posts: 2577
Member Moderator
 

I'm seeing the authors problem on my test site as well.  Looking into it.  Stories works for me though.


 
Posted : 11/04/2008 2:15 am
(@demoniavbh)
Posts: 15
Active Member
Topic starter
 

Yes stories work,,,Don't know what was the problem there πŸ™‚

Thanks


 
Posted : 11/04/2008 7:35 am
(@shadowess)
Posts: 9
Active Member
 

Hey
I've had this problem on my archive and I have recently come up with a solution that appears to work.

Open users/favau.php

On Line 74  REPLACE

query = "SELECT "._UIDFIELD." as uid, "._PENNAMEFIELD." as penname, fav.comments as comments FROM ".TABLEPREFIX."fanfiction_favorites as fav, "._AUTHORTABLE." WHERE fav.uid = '$uid' AND fav.type = 'AU' AND fav.item = "._UIDFIELD." ORDER BY "._PENNAMEFIELD;

WITH

$query = "SELECT authors.*, "._PENNAMEFIELD." as penname, fav.comments as comments FROM ".TABLEPREFIX."fanfiction_authors as authors, ".TABLEPREFIX."fanfiction_favorites as fav, "._AUTHORTABLE." WHERE fav.uid = '$uid' AND fav.type = 'AU' AND authors.uid = "._UIDFIELD." AND fav.item = authors.uid ORDER BY "._PENNAMEFIELD;

Then
On Line 93 REPLACE

if($count > $itemsperpage) $output .= build_pagelinks("viewuser.php?action=favau&uid=$uid&", $count, $offset);

WITH

if($count > $itemsperpage) {
$tpl->gotoBlock("listings");
$tpl->assign("pagelinks", build_pagelinks(basename($_SERVER['PHP_SELF'])."?action=favau&uid=$uid&", $count, $offset));

This has solved the bug on my archive.
Please remember to back up your original file in case this doesn't work on your archive.
Hope this helps!
~Shadowess


 
Posted : 04/08/2008 2:10 am
(@drumy)
Posts: 26
Eminent Member
 

It isn't work to me  πŸ˜₯
My page is:
Efiction Test English
It's a page to test.


 
Posted : 04/08/2008 9:34 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Can you please check and see if this is still an issue with 3.5? Thank you!


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 07/04/2009 4:57 am
Page 1 / 2
Share: