REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[r4] Country Flags In Postbit
Aug 04, 2008, 10:32 AM (This post was last modified: May 02, 2009 01:57 PM by LeX-.)
Post: #1
[r4] Country Flags In Postbit
MyBB Version: MyBB 1.4
New Settings: 1 [ Country Flag Group ]
New Templates: 0
DB Changes: 0
File Changes: 0
Files: 1
  • ./inc/plugins/country.php
Images: 279
Install:
  • Upload ./inc/plugins/country.php into your ./inc/plugins/ folder
  • * Create a New Folder in Your Images Dir named 'flags'
    * Upload All The Content Of ./images/flags/ into the new created folder
  • Go to your PluginManager and Activate the "Country In Postbit" Plugin.

Settings:
  • In case you wanna change from the default custom profile field, then please specify here the field id for the new one.

What:
* Adds The Country Flag Of The User In His/Her Postbit; If They Filled In The Setting.

Note:
Originally Made For 1.2.* By Zaher1988; His Copyright Remains

Update:
Deactivate 1.2.* version; Upload 1.4 version && activate.


Attached File(s)
.zip  CountryFlags.zip (Size: 193.82 KB / Downloads: 221)

Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Aug 04, 2008, 05:32 PM
Post: #2
RE: [r4] Country Flags In Postbit
Worked great Smile
Find all posts by this user
Quote this message in a reply
Aug 05, 2008, 12:00 PM
Post: #3
RE: [r4] Country Flags In Postbit
Awesome thing to have...but I don't seem to be able to download anything anymore...I downloaded many times from this good site in past...can't figure out what has changed.
Find all posts by this user
Quote this message in a reply
Aug 05, 2008, 12:41 PM
Post: #4
RE: [r4] Country Flags In Postbit
You need to be a subscriber.

Read the message on top of the board.
Find all posts by this user
Quote this message in a reply
Aug 11, 2008, 11:28 AM
Post: #5
RE: [r4] Country Flags In Postbit
Thanks again for making this plugin for mybb 1.4
Before I use the new board I am bussy with a test board to see if everything went well.

HOW
- Create a clean 1.2.14
- import complete database from my working board
- upgrade it to 1.4
What means no old plugins are uploaded only the fields as in the database.

I upload the files in the directory and activate it.
Then I look in phpmyadmin what the fidid was
In the settings from plugin I change to this (4).
Go to one of the post but no flags are there.

http://testforum.kellystart.com/showthread.php?tid=4084

What is wrong
Find all posts by this user
Quote this message in a reply
Aug 11, 2008, 11:34 AM (This post was last modified: Aug 11, 2008 11:34 AM by LeX-.)
Post: #6
RE: [r4] Country Flags In Postbit
You don't have to look in phpMyAdmin; you can see the ID in Custom Profile Fields;
+ If you're using the Custom Field the Plugin creates (the select box); you don't have to fill in anything. The Plugin selects the correct fid.
Code:
In case you wanna change from the default custom profile field, then please specify here the field id for the new one.
You selected a country in your UserCP ?
Check your postbit && postbit_classic postbit if {$post['country']} is present.

Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Aug 11, 2008, 11:49 AM (This post was last modified: Aug 11, 2008 12:07 PM by spinning.)
Post: #7
RE: [r4] Country Flags In Postbit
No it is not in the template.
I wanne add it but still not there.
Then I get the problem that I told in mybb forum, that after changing a template everything is in one line (the code). Now it is a mess.

I think I still have some old things from this flag plugin in my new version of 1.4 because when I start to make a test forum I uploaded the whole database from 1.2.14 to 1.4 so you also get some settings.
In the plugin from ACP list old plugins are not showed, but when you go to settings there you see all old plugins.

In my usercp the field for country is showed.

This is where I add the code

Quote: <span class="smalltext"> {$post['usertitle']}<br /> {$post['userstars']} {$post['country']} {$post['groupimage']} {$post['useravatar']}<br /> {$post['user_details']} </span>
Find all posts by this user
Quote this message in a reply
Aug 11, 2008, 11:25 PM
Post: #8
RE: [r4] Country Flags In Postbit
all th plug ins i had in 129, i can find here thx :-)

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Aug 17, 2008, 03:37 AM
Post: #9
RE: [r4] Country Flags In Postbit
Something is realy wrong.
I am test for twee weeks now by setting up a new forum (1.2.14) and upgrading it to 1.4 and import the complete database.
Before updating all plugins are disabled.
After install the flag plugin in 1.4 flags are not showed.
The flags on the index work but postbit nothing.

the costum profiel field for flags showes me that it 12, so changed both plugins to 12.
Nothing happens only in the indexpage it told me something like noname.
When I go then to my profile and add a flag it gave me the flag in the indexpage but not in the postbit.

When I change both plugins to 4 (what it was in 1.2.14) I see on the index page my flag but in post nothing..

The costum profiel field showed me for flags 12 but it must be 4 and cannot changes that.
Find all posts by this user
Quote this message in a reply
Aug 21, 2008, 12:35 AM
Post: #10
RE: [r4] Country Flags In Postbit
men how i can add this plugin in a new field under all the information in postbit?

screenshot:


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [r4] Gender In Postbit LeX- 25 4,295 Mar 14, 2010 10:24 AM
Last Post: Barbie ♥
  [r4] Additional Group Images; Postbit && Profile LeX- 61 9,605 Feb 20, 2010 06:25 PM
Last Post: kagar1989
  [r4] Number of Threads In Postbit LeX- 9 1,159 Jan 09, 2010 07:18 PM
Last Post: netrover
  [r4] Country Flags On Index LeX- 25 3,622 Jan 06, 2010 03:54 PM
Last Post: blazendevil2
  [r4] Zodiac In Postbit LeX- 15 2,501 Oct 26, 2009 07:33 AM
Last Post: itsmie

Forum Jump:



icon buffet