Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[CM] Guest IP-2-Country Flag (Addon) Details »»
[CM] Guest IP-2-Country Flag (Addon)
Version: 1.00, by ChiNa ChiNa is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.2.0 Rating:
Released: 08-30-2012 Last Update: 09-02-2012 Installs: 14
Uses Plugins Auto-Templates
Translations  
No support by the author.

This was brought to you by ChiNa-Man

First of all I am a free soul, So if one of you guys decided to post this on another forum or a website, I would be appreciated if you give some CREDITs to the Developer simply typing his name: Credits to: ChiNa-Man, and do not CHANGE or DELETE the ORIGINAL CONTENT! Thank you!


:::::::::::::::::::::::::::::::::::::::::::::


Get this addon for vBulletin 3.8 by Clicking HERE

Credits to: www.Coding-Talk.com & subzero for sharing a part of the script!

New Update Message (Read This Befor)

This is my 2nd tutorial, I had uploaded all the images and files in our own server to make it easier for you guys, but the members suggested that it was much better if they got the files to upload for them selfs and on their own servers! Now thats what we do. And all we have removed all the images & files from our servers, and if anyone still uses the old version, then its not strange if the flags doesnt show up. Now you all need to get this new update, which is much more easier! And all the files is ready to be uploaded in your own servers!


UPDATED
(03-SEP-2012)
After
MEMBERS REQUEST!
Befor I start, I let you know that there are about 500 Files to Upload in your server or your forum ftp root. We first uploaded all the files to our own server, but if you look below in the comments many requested they wanted the files to be uploaded in their own servers. We have now uploaded all the files in the ATTACHMENTS as "Upload.zip" + 4 XML files beside. So please take your time and let all the files be uploaded, befor you install the XML file.

Files to upload from "Upload.zip" file there are:
2 Folders Called: (flags) + (ip_flags) + 4 php files.
An E
stimate of 499 files for upload.

Upload everything from the Upload.zip to your forum root, Simply use the DRAG and DROP it, if you use any FTP software !

And dont forget the 4 XML files which comes with 4 different TEXT COLORS, Do not upload them to your FTP! They should only be installed from ADMINCP and Product Manager, but only 1 of them!

Dont forget, this was request by yourselfs !



Here we go:

IP 2 COUNTRY FLAG

Show your forum Guests their IP Location, and Country Flag!

This addon my latest one (IP 2 COUNTRY FLAG)! It showes your guests IP and COUNTRY FLAG. Its only working in the forum section, and the BOX will be placed above your forums! Me and a friend had this script for a long time and and we wanted to make this to an ADDON for our old forum MYBB, but we couldnt! After I moved to vBulletin we gave it a shot, and finally made it to work for vBulletin Version vB3.8 and 4.x! And finally we finished it... The php was not finished, so we added some extra felts to finish it!

With 4 different text colors, Red, Green, Brown, Black!

Below you see how the Addon looks on a Dark & a Light (Theme & Background)
Red Text Color





Green
Text Color






Brown
Text Color





Forum Frontpage




Lets Start:

Step 1: I start over again with the "Upload.zip" from the attachments, there are 2 folders and 4 files beside the folders! Upload everything that you see in the Upload.zip to your forum root! And wait untill its uploaded, and then go to step 2!


Step 2:
Now there are 4 XML products, with different text color, Choose only one and go to your ADMINCP, and in your Plugin & Products, click on Manage Products, and scroll down to ADD/IMPORT PRODUCT! Then click on BROWSE button and locate the XML product with the color you want to use in your forum, and then Click on IMPORT..

Thats it, Now remember, you have to log-out to see the Guest message! Because its only visible for Guests, Non-Registered Users and Non Logged-In..

Dont forget to click on INSTALLED, and enjoy !


And thanks for all of you who noticed me about the FILES where better to be uploaded in your own serves! GREAT IDEA , BUT A LOT OF FILES!

Download Now

File Type: xml product-ip2countryflag-BLACK.xml (1.3 KB, 29 views)
File Type: xml product-ip2countryflag-BROWN.xml (1.3 KB, 25 views)
File Type: xml product-ip2countryflag-GREEN.xml (1.3 KB, 30 views)
File Type: xml product-ip2countryflag-RED.xml (1.3 KB, 34 views)
File Type: zip Upload.zip (612.5 KB, 58 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
GhostHunter2010

Comments
  #2  
Old 08-31-2012, 06:31 PM
GhostHunter2010 GhostHunter2010 is offline
 
Join Date: Nov 2010
Location: London UK
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for sharing but dont u think is better if ppl can download the images it self so ur server may be down sometime there is noserver who never goes down lol
Reply With Quote
  #3  
Old 08-31-2012, 06:36 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GhostHunter2010 View Post
thx for sharing but dont u think is better if ppl can download the images it self so ur server may be down sometime there is noserver who never goes down lol
This looks good but i would have preferred to have the files on my server as above aswell:up:
Reply With Quote
Благодарность от:
GhostHunter2010
  #4  
Old 08-31-2012, 06:43 PM
GhostHunter2010 GhostHunter2010 is offline
 
Join Date: Nov 2010
Location: London UK
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tested on vb 4.2 doesnt look that good thanks anyways for sharing
Reply With Quote
  #5  
Old 08-31-2012, 06:44 PM
GhostHunter2010 GhostHunter2010 is offline
 
Join Date: Nov 2010
Location: London UK
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by doctorsexy View Post
This looks good but i would have preferred to have the files on my server as above aswell:up:
same here
Reply With Quote
  #6  
Old 08-31-2012, 09:15 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are the flags??
Reply With Quote
  #7  
Old 09-01-2012, 07:01 AM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CoZmicShReddeR View Post
Where are the flags??
On there server!..?
Reply With Quote
  #8  
Old 09-01-2012, 09:01 AM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated Again 01 SEP 2012
You Can Now Upload the files To Your Own Server!
Reply With Quote
  #9  
Old 09-01-2012, 09:52 AM
tele955848 tele955848 is offline
 
Join Date: Nov 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.clanking.eu" target="_blank">www.clanking.eu</a>

you have to scroll to read ?
Reply With Quote
  #10  
Old 09-01-2012, 10:22 AM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tele955848 View Post
www.clanking.eu

you have to scroll to read ?

It depends on your forum Template & width, and what font your forum is using, It fits perfect on a Default vBulletin Template. Anyways,

Here is the fix, Edit one of the XML files with a TEXT EDITOR! Now if you take a look below, I have marked a portion of the code in RED color, Now find BLUE color 750px, and change it to 800px!

And dont forget to click on INSTALLED for further support like this..

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="ip2countryflag" active="1">
    <title>Guest (Show IP and Country Flag)</title>
    <description>Guest (Show IP and Country Flag) by www.China-Cheats.com</description>
    <version>1.0.0</version>
    <url>https://vborg.vbsupport.ru/showthread.php?p=2361504</url>
    <versioncheckurl />
    <dependencies>
    </dependencies>
    <codes>
    </codes>
    <templates>
         <template name="ip2country" templatetype="template"  date="1234335426" username="ChiNa-Man" version="1.0.0"><![CDATA[
<vb:if condition="is_member_of($vbulletin->userinfo,1)">
<center><font size="1" color="black"><iframe src ="http:/china-cheats.com/ip2country.php" width="750px" height="36">
</iframe></center></font></if>]]></template>
    </templates>
    <stylevardfns>
    </stylevardfns>
    <stylevars>
    </stylevars>
    <plugins>
        <plugin active="1" executionorder="5">
            <title>IP 2 Country Flag</title>
            <hookname>process_templates_complete</hookname>
            <phpcode><![CDATA[global $template_hook;
$newTemplate = vB_Template::create('ip2country');
$template_hook['forumhome_above_forums'] .= $newTemplate->render();]]></phpcode>
        </plugin>
    </plugins>
    <phrases>
    </phrases>
    <options>
    </options>
    <helptopics>
    </helptopics>
    <cronentries>
    </cronentries>
    <faqentries>
    </faqentries>
    <navigation>
    </navigation>
</product>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10779 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete