vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Miscellaneous Images (https://vborg.vbsupport.ru/forumdisplay.php?f=125)
-   -   vBulletin Country Flags Modification (https://vborg.vbsupport.ru/showthread.php?t=185841)

SLR722 07-19-2008 10:00 PM

vBulletin Country Flags Modification
 
1 Attachment(s)
Hello,

vBulletin Country Flags Modification

My first modification to vBulletin 3.7.x, and my first vB modification in a long time. I used my old phpBB mod and did some tweaks.

Installation instructions to include in your site are included

Code:

=======================
Country Flags Version 2.0
vBulletin 3.7.x
--
Author (c)
Khaleel Mughal
K4Z Systems, Inc
Author Contact
http://www.k4z.org/contact/
2006/4/6 - Date of Update
=======================


=======================
Change Log
--
15:23 20/07/2008 - vBulletin Installation Documentation added
                - Several new flags added and renamed
                - Removed from phpBB the database include, I made this originally for phpBB
                - Added index.html
                - Removed the illegal state "Israel" from the list.
                  750 emails on this. I ignore them. No point
                - Renamed all flag files to $country name.png hard code! And now to name.gif!!
=======================



=======================
About
--
The modification will show a drop down in the usercp
Thus, from the drop down the user selects his/her flag
The postbit include will display it each of the users threads
=======================

In action
http://www.k4z.org/blog/wp-content/uploads/screen1.jpg


In Usercp
http://www.k4z.org/blog/wp-content/uploads/screen2.jpg

More modifications soon!

For the RAR version visit here.

sensimilla 07-22-2008 07:00 AM

Has been released at least 3 times, in what this one is better ?

SLR722 07-22-2008 08:45 AM

Quote:

Originally Posted by sensimilla (Post 1581203)
Has been released at least 3 times, in what this one is better ?

In what way is this one better?

For start my attachments include installation for both legacy and postbit legacy which makes it easy for the less experienced and for seconds is my images don't match the size of an avatar! Smaller smoother items..

kottemann 09-01-2008 11:27 AM

hello SLR722 kinda new to all this but have succesfully added a few mods to my new board but I just cannot seem to get this to work i have followed the instructions and have the option to choose the flag no problem but nothing appears am I editing the postbits wrong help please

SLR722 09-01-2008 05:11 PM

Hello

Can you tell me what the actual problem is? What template are you using postbit or postbit_legacy?

kottemann 09-02-2008 05:10 AM

I am using postbit_legacy, I have the option to choose a flag in the ucp and in my profile the word Ireland shows up beside country flag, however there is no image I have checked the pathe to the flag folder with the url and it shows up so the only thing I can think of is that I am editing the template wrong. Thanks for your reply sorry for being a pest.

SLR722 09-02-2008 11:36 AM

Quote:

Originally Posted by kottemann (Post 1612500)
I am using postbit_legacy, I have the option to choose a flag in the ucp and in my profile the word Ireland shows up beside country flag, however there is no image I have checked the pathe to the flag folder with the url and it shows up so the only thing I can think of is that I am editing the template wrong. Thanks for your reply sorry for being a pest.

Sorry for the late reply. So when you post a message.. do you actually see the flag in the postbit, or does it just literally say the word Ireland.. and if in Firefox, right click, and view image, if this shows the image as I believe you are saying then its a problem with the HTML, most definitely.

Please attach your full template code.

kottemann 09-02-2008 11:59 AM

1 Attachment(s)
Hi there there is no flag in the postbit nor the word Ireland however if I got to my profile and click about me my country flag is stated as Ireland and there is an option in the UCP to change it, thanks again for your time the posbit_legacy template is attached.

kottemann 09-02-2008 12:50 PM

Hi Slr722 sorry for wasting your time but I have resolved this now thanks

SLR722 09-02-2008 01:16 PM

Its a good feeling when you solve a coding problem. Can you post the solution of what was wrong and how you solved it incase someone else has this issue?

Thanks!


All times are GMT. The time now is 01:11 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.01049 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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