Jump to content

FluxCP Addon: Vote For Points


JayPee

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  145
  • Reputation:   15
  • Joined:  01/06/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

can you give us a picture how to add and the format of site to cp_v4p_sites

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   2
  • Joined:  01/08/12
  • Last Seen:  

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>

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   5
  • Joined:  03/09/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   2
  • Joined:  02/07/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   2
  • Joined:  03/27/12
  • Last Seen:  

Hello,

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   2
  • Joined:  02/07/12
  • Last Seen:  

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 ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Im the one who develop this addon.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   2
  • Joined:  01/08/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

help about this i don't change anything i just paste the v4p Folder in my ftp and i got this error can anyone help me to fix this?

im hosted in axwebsolution thx

post-467-0-95159600-1334675229_thumb.jpg

Edited by Kariton Revolution
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Make sure all the files are uploaded.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.03
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

uploaded namn sya eh

kumpleto nmn pag kakalagay ko

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  04/23/12
  • Last Seen:  

How to install the addon? i tried to upload it not importing it. but there are no changes happened. how?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   26
  • Joined:  12/07/11
  • Last Seen:  

@makemefamous

Extract voteforpoints.rar to your "fluxcp/addons" folder

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

I can't put a voting site! Help.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Bump.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   26
  • Joined:  12/07/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

yep same here no problems at all been using it ever since he released it :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

How can I change the size of the table?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

How can I change the size of the table?

you can edit the interface at addons/voteforpoints/themes/default/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   2
  • Joined:  12/19/11
  • Last Seen:  

bossing bat d ko m DL?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

can someone give me a mirror, cant download it

Link to comment
Share on other sites

×
×
  • Create New...