vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Country Flag Addon for Lesane Store (https://vborg.vbsupport.ru/showthread.php?t=39232)

GenSec 05-29-2002 10:00 PM

Country Flag Addon for Lesane Store
 
If you installed Lesane Store and AJR Country Flag Hack v2.0 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

Quote:

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

Quote:

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

Quote:

Originally posted by GenSec
If you installed Lesane Store and AJR Country Flag Hack v2.0 you can sell flags and foreign tours in your vB Store.

wohooo

thanks alot fella :)

bonnmac 07-07-2002 07:44 PM

Quote:

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"

PHP Code:

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


All times are GMT. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01164 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete