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 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 06:14 AM.

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.02373 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete