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 Hack v2.0 (https://vborg.vbsupport.ru/showthread.php?t=27485)

Hamsh 03-17-2002 01:15 AM

Most of it works fine on my 2.2.4, will display flags for old members no problems.

Whenever I try to logout or view a member profile I get a parse error in member.php, line 500 and something. Everything seems to be replaced and added OK, and I thought I'd followed all instructions. I don't have access to anything other than notepad to count the lines. Before I count them all on the screen, anyone got any ideas on what might be causing this?

freehtml 03-17-2002 02:13 PM

Quote:

Originally posted by Hamsh
I don't have access to anything other than notepad to count the lines.
Try using NoteTab ,a well good replacement for Notepad.

Dez_U 03-17-2002 03:20 PM

so does anyone have any suggestions as to how i can get this cool hack working 100% ?

Demascus 04-21-2002 02:51 PM

anyone got this working on vbb2.2.5 yet?

Chris M 04-21-2002 04:22 PM

I noticed a syntax error...

Quote:

4 - Open member.php

find:
$templatesused .= "register_birthday,modifyprofile_customtext,regist er_customfields,usercpnav,modifyprofile";
Should be :

4 - Open member.php

find:
PHP Code:

$templatesused 'register_birthday,modifyprofile_customtext,register_customfields,usercpnav,modifyprofile'

Satan

Chris M 04-21-2002 04:23 PM

Another one :

Quote:

// Country Hack Replace
// $templatesused .= "register_birthday,modifyprofile_customtext,regist er_customfields,usercpnav,modifyprofile";
$templatesused .= "register_birthday,modifyprofile_customtext,modify profile_country,register_customfields,usercpnav,mo difyprofile";
// Country Hack End
Should be :

PHP Code:

  // Country Hack Replace
//   $templatesused = 'register_birthday,modifyprofile_customtext,register_customfields,usercpnav,modifyprofile';
  
$templatesused 'register_birthday,modifyprofile_customtext,modifyprofile_country,register_customfields,usercpnav,modifyprofile';
// Country Hack End 

Satan

Chris M 04-21-2002 04:25 PM

Quote:

eval("\$customtext.= \"".gettemplate("modifyprofile_customtext")."\";") ;
}
}
Should be :

PHP Code:

      eval("\$customtext = \"".gettemplate("modifyprofile_customtext")."\";");
    }
  } 


Chris M 04-21-2002 04:48 PM

I think that is all the syntax errors there were...

Satan

Erwin 04-21-2002 11:28 PM

Defnitely works on 2.2.5.

aldamon 04-22-2002 11:30 AM

I'm going to miss this in vb3.0. I hope it is ported!


All times are GMT. The time now is 09:34 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.01850 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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