Jump to content

Recommended Posts

Posted

same problem as them, i add the 3 to my logindb and put voteforpoints in the addons, but still No voting site help

'Voters' => 'cp_v4p_voters', //Contains the record of the Players Vote Points

'Sites' => 'cp_v4p_sites', //Contains the list of sites

'Logs' => 'cp_v4p_votelogs' //Contains the record the player vote date

this is your solution.

Posted

We have still problems with installing this addon. Flux CP self works fine.

First i have forgotten to put the files in the addons subdirectory. I put them in the accourding directories. SQL-Files are imported to the database.

Access levels are set to ADMIN, i am logged in as ADMIN, but i cant see the menu items, only the menu heading. Trying the url /?module=voteforpoints leads in an error message page Unauthorized - You are unauthorized to view this page. <a href="%s">Redirecting…</a>

Posted

I added the VPS perfectly but it seems to be that it can be seen only in the website if you are logged in, is their anyway that it will be showed even if ur are logged out?

Posted (edited)

Oy...

I understand that the addon gives points to the account via the additional tables specifically for it, and that the in game NPC reads the ammount via those tables and then can be cashed in for items. I don't really want to use the included NPC or this form of "points" and instead I was wondering if it's possible to do put them in cash points in stead. Maybe via a NPC using the OnPCLoginEvent?

Something like:

OnPCLoginEvent:

-- SQL Query cp_v4p_voters, check players 'account_id', get 'points' and asign value as a @VotePoints variable.

-- SQL Query Set cp_v4p_voters 'points' value to 0

set #CASHPOINTS, #CASHPOINTS+@VotePoints;

I generally hate asking for help, but I really don't know how to script sql related crap... If anyone helps, I'd really appreciate it.

I asked for help in Scripting Support (http://rathena.org/b...61372-sql-help/) too cause I realize this area is less likely to be noticed / responded too ;x

I got help in above mentioned topic, just as an update :)

Edited by Lige
Posted

We have still problems with installing this addon. Flux CP self works fine.

First i have forgotten to put the files in the addons subdirectory. I put them in the accourding directories. SQL-Files are imported to the database.

Access levels are set to ADMIN, i am logged in as ADMIN, but i cant see the menu items, only the menu heading. Trying the url /?module=voteforpoints leads in an error message page Unauthorized - You are unauthorized to view this page. <a href="%s">Redirecting…</a>

Maybe your flux is using `level` while your login table has `group_id` (vice versa) this will cause you some errors.


I added the VPS perfectly but it seems to be that it can be seen only in the website if you are logged in, is their anyway that it will be showed even if ur are logged out?

Hi, login is required because in the listing of the voting sites the system checks whether you can now vote or not and give you the date where you can vote. Its possible but it will be another page which only gives the list of voting sites your server is registered.


Oy...

I understand that the addon gives points to the account via the additional tables specifically for it, and that the in game NPC reads the ammount via those tables and then can be cashed in for items. I don't really want to use the included NPC or this form of "points" and instead I was wondering if it's possible to do put them in cash points in stead. Maybe via a NPC using the OnPCLoginEvent?

Something like:

OnPCLoginEvent:

-- SQL Query cp_v4p_voters, check players 'account_id', get 'points' and asign value as a @VotePoints variable.

-- SQL Query Set cp_v4p_voters 'points' value to 0

set #CASHPOINTS, #CASHPOINTS+@VotePoints;

I generally hate asking for help, but I really don't know how to script sql related crap... If anyone helps, I'd really appreciate it.

I asked for help in Scripting Support (http://rathena.org/b...61372-sql-help/) too cause I realize this area is less likely to be noticed / responded too ;x

Sorry If I don't respond to this post this past few days coz Im busy making updates in our server and website. And currently studying and trying facebook API since I'm interested of making a Facebook Registration and Login Addon on fluxcp.


Hello,

In this v4p does the player need to enter the security codes before they can get any points?

Do you mean captcha system? Coz I dont see any point of putting a captcha system on this.

@All

For bug reports and other concerns please post them here at mygithub repo:https://github.com/mandark022/VoteForPoints

Posted

I ended up getting help in my topic already JayPee, though I appreciate you replied and were going to look into it when you could :)

Thanks to all who've created this addon, created FluxCP, who uploaded this and provided support in this topic! My server and I both really appreciate it ;)

Posted

same problem as them, i add the 3 to my logindb and put voteforpoints in the addons, but still No voting site help

'Voters' => 'cp_v4p_voters', //Contains the record of the Players Vote Points

'Sites' => 'cp_v4p_sites', //Contains the list of sites

'Logs' => 'cp_v4p_votelogs' //Contains the record the player vote date

this is your solution.

what does it mean? sorry i already put it on my tables, but still after i add the voting site, nothing is happening

Posted (edited)

Hi JayPee,

after getting your last repo and updating the fluxcp itself the v2p-addons works fine with the default theme.

We use an own theme, so i merged all differences between the default theme of my old flux cp and the new flux cp (from CalciumKids new repo) into our theme-files.

First the was a problem (Page not found), but i have forgotten to copy the files from FLUXPATH/addons/voteforpoints/themes/default to FLUXPATH/addons/voteforpoints/themes/OWNTHEME.

Just as a hint for other users, that will use the v2p-addon with own themes. :-)

Thanks a lot, HeikoS

Edited by HeikoS
Posted (edited)

sir jaypee may problem po ako. bkt po ayaw lumabas ng vote sites or vote links? na add vote sites ko naman po sya.

ito po screenshot tapos kung mag eedit ako dun ko lng sya makikita tapos kung mag delete sites po ako may lumabas na error. pero kompleto ko nama po na add ung mga files sa addons folder mismo.

1. Edit - Delete Voting Sites

post-524-0-55379300-1334968428_thumb.jpg

2. Add new Voting Sites

post-524-0-43836000-1334968448_thumb.jpg

3. Delete[error]

post-524-0-94545200-1334968550_thumb.jpg

Edited by Will Suranol
  • Upvote 2
Posted (edited)

I've got no Problem.. Thanks Jaypee..

if youre using another Flux Themes. make sure to rename the "addons/voteforpoints/themes/default" to" addons/voteforpoints/themes/<yourfluxtheme>"

Edited by Gerome
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...