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)

ariaforums 11-23-2001 12:12 PM

$post[joindate]=vbdate($registereddateformat,$post[joindate]);

I still cannot find this in adminfunctions.php :(

Bane 11-23-2001 12:18 PM

Quote:

Originally posted by ariaforums
$post[joindate]=vbdate($registereddateformat,$post[joindate]);

I still cannot find this in adminfunctions.php :(

Try looking for it without spaces
Code:

$post[joindate]=vbdate($registereddateformat,$post[joindate]);
If that doesn't work try looking for
Code:

                } else {
                        $postsperday = sprintf("%.2f",($post[posts] / $jointime));
                }

its just below that.

Lesane 11-24-2001 11:21 AM

Quote:

Originally posted by AJR
Version 2.0 - September 6, 2001
================================================== ==
This is the second release of the Country Hack. I have
converted it to make it work with Bain's vBStats hack
that will be released sometime in the near future. Bain
and I have been working together because both the Country
Hack and vBStats Hack require all the flags. We didn't
want you to have to have double images with different
names (which would mean over 450 files in the flags
directory!)

By changing the flag names from their country code to
their country name, it is now possible to have the ALT
tag show the name of the country when you put your mouse
pointer over the flag image.

Changes from v1.0:
- Images have been changed from country codes to country names

Loox like a great hack but i dont understand one thingy that you said above. You said:
Quote:

We didn't want you to have to have double images with different names (which would mean over 450 files in the flags
directory!)
But the flags of the vbstats hack of bane have country codes and you use the country names :confused:
So we have now double images with different names or do i c this wrong? :confused:

Bane 11-24-2001 04:49 PM

The problem was that in the original version of the flags hack there were all lowercase flag names etc.. then these. Orignally the same system as is used here was used for vbstats however vbstats ended up being a little too popular so for language abstraction purposes I decided to make the switch to country codes. (Now its much easier to change the country names for other language users of vbstats) There is an easy way to change the image settings for flags in vbstats if you want to use the same set. Or optionally you can wait for the next release of vbstats where I will release a compatible Flag Hack if AJ isnt back yet.

Lesane 11-25-2001 07:11 AM

Okey, that makes things clear. Do you know already the deadline of the next Vbstats release?

aldamon 11-28-2001 12:11 PM

nm

xug 11-28-2001 03:58 PM

I got it finally working, thanks to all who did a great job here !

xug 11-28-2001 07:56 PM

I thought that everything was working, but there is a little bug.

When people want to sign up and they fill up all the required information right and submit it, it will give an error message that they have to check again because something wasn't filled up right.

I did it myself also a few times and for sure I did what was required but gave me the error too.

When I installed this hack I did every file step by step and uploaded it back to my site, checked if there where no errors and all looked ok.

So I think there must be something wrong with the last file, register.php

Can please somebody advise me what this could be.

Thank you.

nighteyes 11-29-2001 04:37 PM

Yes, you got it in one. The error is in register.php, I had the same problem. Just download the updated instructions for the 2.2.1 sourcecode a few messages up kindly put together by a generous soul. Extract the original register.php from the ZIP (if needed) and then apply the instructions in step 4 all over again... upload and it *should* work. It did for me.

aldamon 11-29-2001 04:54 PM

There are actually 3 updated sections for 2.2.1. I noticed in my previous text file that I used two different phrases to indicate changes, *** Updated for vB 2.2.1 *** AND *** Modified for vB2.2.1 ***. I just changed the text file so all 3 changes are marked by:

*** Modified for vb 2.2.1 ***

Here it is again and remember there are 3 changes. I have fully updated the affected sections with the 2.2.1 source code.

Enjoy!


All times are GMT. The time now is 06:21 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.01334 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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