REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 2 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[r4] Country Flags In Postbit
#1
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 Files
.zip   CountryFlags.zip (Size: 193.82 KB / Downloads: 443)
#2
Worked great Smile
#3
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.
#4
You need to be a subscriber.

Read the message on top of the board.
#5
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
#6
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.
#7
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>
#8
all th plug ins i had in 129, i can find here thx :-)
[Image: classic-76561197972846836.png]
#9
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.
#10
men how i can add this plugin in a new field under all the information in postbit?

screenshot:


Attached Files Thumbnail(s)
   


Possibly Related Threads...
Thread Author Replies Views Last Post
  [r4] Additional Group Images; Postbit && Profile LeX- 68 63,610 Sep 01, 2010, 07:39 PM
Last Post: protocol
  [r4] Country Flags On Index LeX- 28 20,374 Sep 01, 2010, 06:09 PM
Last Post: stelmach
  [r4] Zodiac In Postbit LeX- 16 12,664 Apr 23, 2010, 05:34 PM
Last Post: scarface
  [r4] Gender In Postbit LeX- 25 20,020 Mar 14, 2010, 10:24 AM
Last Post: Barbie ♥
  [r4] Number of Threads In Postbit LeX- 9 8,371 Jan 09, 2010, 07:18 PM
Last Post: netrover

Forum Jump:


Users browsing this thread: 1 Guest(s)