PDA

View Full Version : Country Flag Addon for Lesane Store


GenSec
05-29-2002, 10:00 PM
If you installed Lesane Store (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36991) and AJR Country Flag Hack v2.0 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=27485) you can sell flags and foreign tours in your vB Store.

rascal
05-30-2002, 04:50 PM
Gensec -a cool idea but care to elaborate further? Any plans to make a hack whereby members are able to exchange the points for community t-shirts or mugs?

Lesane
05-30-2002, 04:51 PM
Great addon, well done.

GenSec
05-30-2002, 05:12 PM
Originally posted by rascal
Gensec -a cool idea but care to elaborate further? Any plans to make a hack whereby members are able to exchange the points for community t-shirts or mugs? No such plans. Sorry.
It's not actual for my board. But It's so simple I guess someone make it without problem.
My users want multicurrency, currency and stock exchange. :D

Keyser S?ze
05-30-2002, 05:21 PM
hey could u explain exactly what this is and maybe a few screenshots would be great

GenSec
05-30-2002, 05:55 PM
Originally posted by IceMalee
hey could u explain exactly what this is and maybe a few screenshots would be great User should buy country flag in the store. Or user can change other country flag (let say send anybody abroad :classic: ). It's only for those who has both hacks Lesane Store and AJR Country Flag. And it's like change avatar.

Blue2000
05-31-2002, 01:12 AM
Originally posted by GenSec
If you installed Lesane Store (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36991) and AJR Country Flag Hack v2.0 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=27485) you can sell flags and foreign tours in your vB Store.


wohooo

thanks alot fella :)

bonnmac
07-07-2002, 07:44 PM
3. *** At last add flag.php to the end of store.php file

Do you mean copy & paste the contents of flag.php to the end of store.php file?

GenSec
07-08-2002, 05:11 AM
Yes. You are right :)

TalkHardRandy
07-09-2002, 07:28 PM
Problem...

When I try to give a flag to another user, I recieve a blank store.php. Nothing happens.

Any ideas?

GenSec
07-10-2002, 05:20 AM
Check your script and templates.

dadymac
07-10-2002, 06:24 PM
so, how do we stop users from just changin their flag in the cp?? is there code we have to take out?? or is this all already worked in (but i dont see how without commenting stuff out from the profile)

GenSec
07-10-2002, 06:31 PM
I don't use country hack myself. Just the images.
But you can comment in templates -modifyprofile_country- or make noneditable in User Profile Fields.

TalkHardRandy
08-09-2002, 08:02 PM
Checked templates... you were right... template was named wrong... but I found something in the code add-on for the "store.php"


$DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,showsignature,iconid,messageread ,folderid,receipt) VALUES (NULL,$victimid,$victimid,ADMINID,'Have a nice journey','".addslashes($message)."',".time().",'$bbtitle','',0,0,0)");


Instead of ADMINID, shouldn't it be $bbuserinfo[userid]?

red_baron2000
03-12-2003, 07:35 AM
yeap its not working with the "ADMINID" , changed it to "$bbuserinfo[userid]" like TalkHardRandy said , and it worked like a charm ;)