Jump to content
  • 0
Sign in to follow this  
Keitaro Urashima

Flux-CP Addon V4P, problem with voting sites listing!

Question

Hello everyone!

After installing the V4P Addon to my CalciumKid's Flux-CP, I'm able to create a new voting site and it appears to work perfectly (it adds to the cp_v4p_sites database and lists on the Edit/Delete option as well).

But it doesn't show on the "Voting Sites" buttom for the people (me or anyone else) to vote! It only shows "No Voting Sites" as if I didn't add any Voting Site =/ I think it's a listing problem in:

addons/voteforpoints/themes/default/voteforpoints/list.php

<?php if($vp): ?>

[...]

<?php if(!$vp): ?>
<br/>
<i>No voting sites found</i>
<?php endif; ?>

[...] = Normal content. Didn't copy because it would get too long, but I haven't change anything in any voteforpoints addon file.

What does "<?php if($vp): ?>" stand for? What condition is that? My V4P addon is either ignoring or not finding that condition to show the Voting Sites on the list for the players to vote.

Thank you for your time,

Keitaro.

Share this post


Link to post
Share on other sites

36 answers to this question

Recommended Posts

Bump! Still can't use the V4P system with CalciumKid's FluxCP. I had not tested it with the normal FluxCP yet, but i guess it has nothing to do with the group_id modification.

Sorry for double post!

Edited by Keitaro Urashima

Share this post


Link to post
Share on other sites

Hi Keitaro Urashima,

Where did you get the V4P script from? Was it the paid one from Paradox, or somewhere else?

Share this post


Link to post
Share on other sites

Hello Asura,

I got it from here: http://rathena.org/board/topic/60640-fluxcp-addon-vote-for-points/

I also posted there for support, but JayPee didn't answer it yet. Do you have any links for mr Paradox's V4P script descriptions so that I can consider buying it? Or any contact info...

Thank you for the answer,

Keitaro.

Share this post


Link to post
Share on other sites

hello Keitaro

<?php if($vp): ?> will check if $vp variable have a Value it (will return TRUE if it have) , type = Array

you can find $vp variable in addons\voteforpoints\modules\voteforpoints\list.php , index.php..

Acctually addons/voteforpoints/themes/default/voteforpoints/list.php will show in Edit - Delete Voting Site

addons/voteforpoints/themes/default/voteforpoints/index.php is responsible for that.

so I conclude that something wrong w/ your index.php cause its working fine in Edit - Delete Voting Site right?

I gues..

/heh

Just Correct me if im wrong..

Share this post


Link to post
Share on other sites

@Gerome

You're right about that Gerome. The problem must be in addons/voteforpoints/themes/default/voteforpoints/index.php as that's the path for the exhibition of the Vote Sites the user added by using the Add function.

But the problem is: my index.php remains intact since I downloaded the V4P addon. Why isn't it working for me (and some other users), but works for the most?

Thank you for your answer,

Keitaro.

Share this post


Link to post
Share on other sites

Hmm. Yea, me too! It appear "No voting sites found" after i did fill out the form to submit Voting site. Anyone who can help us?

no1rt.png

no2k.png

no3m.png

Thanks. /ok

Edited by Rabbit

Share this post


Link to post
Share on other sites

ok.. Try this..

Replace your addons/voteforpoints/modules/voteforpoints/index.php with this one index.php

Share this post


Link to post
Share on other sites

ok.. Try this..

Replace your addons/voteforpoints/modules/voteforpoints/index.php with this one index.php

I replace the index.php from you to the right place and it made some changes. You need to be logged to see Vote for Points, am i right? Same result "No voting sites found" even i log-in twice, it doesn't make any change at all. It is like, it couldn't save my setting even i'd add New voting Site and submit them. But hey, thanks for helping us. /no1

Any other solution? /ok

Share this post


Link to post
Share on other sites

that's the solution i've made to Will Suranol..

maybe your not the same situation with him.. ok ill try another solution..

Share this post


Link to post
Share on other sites

ok.. Try this..

Replace your addons/voteforpoints/modules/voteforpoints/index.php with this one index.php

I did that and it didn't solve the problem. I can see the Voting Site I created in the "Edit - Delete Voting Site" page as you can see in here:

semttulojce.png

But when I click on "Voting Sites" (on the main menu of my CP, Vote For Points - Voting Sites) as a normal member of my server would do, it appears:

semttulo2xn.png

Oh! And when I try to delete a voting site, it goes to a blank page with this adress: http://mycp.com/?mod...on=delete&sid=1

Thank you very much for trying to help me out here. I'm having a bad time trying to solve this problem by myself and had no results by this point... The worst part is that many members can actually use the V4P system with no problem at all! I really can't understand that, as I'm using a fresh clean CP (from here: https://github.com/c...fluxcp-renewal/) for test reasons. I also get a clean V4P addon everytime I'm about to try another thing (from here: https://github.com/mandark022/VoteForPoints).

Keitaro.

Edited by Keitaro Urashima
  • Upvote 1

Share this post


Link to post
Share on other sites

same problem

Share this post


Link to post
Share on other sites

Same here guys, that error occurs.

Share this post


Link to post
Share on other sites

No solution until now? Hmmph..

Share this post


Link to post
Share on other sites

This is from Gerome index.php

it works fine for me. just replace your old index to this

addons/voteforpoints/themes/default/voteforpoints

Share this post


Link to post
Share on other sites

This is from Gerome index.php

it works fine for me. just replace your old index to this

addons/voteforpoints/themes/default/voteforpoints

Sorry for late reply. Still same, nothing happen. No Voting Sites. I'm using Calcium_Kid Renewal Flux CP. Wondering what is the major prob.

Share this post


Link to post
Share on other sites

Hello Guys.. its hard to solve cause i can't produce the same problem with you! I solved wills Vote 4 Points because we used TeamViewer ..

Share this post


Link to post
Share on other sites

@Gerome :

TeamViewer installed. Could you help? :P

Share this post


Link to post
Share on other sites

@Topic

Since I got no solutions for this matter, I changed to another V4P addon.

May I say Xantara's V4P system is amazing, although it is paid. At least I've got support whenever I need.

Share this post


Link to post
Share on other sites

I think you have installed the tables in the wrong sql.. :))

Share this post


Link to post
Share on other sites

I've just fixed mine..

Here's my fix:

PATH: /gamecp/addons/voteforpoints/modules/voteforpoints/index.php

index.php

  • Upvote 3
  • Like 1

Share this post


Link to post
Share on other sites

THX to LeoThird. =) it works.. atlast!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.