Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zaher1988's Plugins / Mods List
LeX- Wrote:You're using the default theme ?

Nope, it's the Gel Green template.
Reply
SaintofKillers Wrote:
LeX- Wrote:You're using the default theme ?

Nope, it's the Gel Green template.

Thats why i hate custom themes =P Is the var {$post['country']} present in your postbit template ? If not, add it behind {$post['user_details']}

And for the alignment, check your postbit template for this ( should be at the top )
<td class="trow2" width="15%" valign="top" style="white-space: nowrap; text-align: center;">

Change inline
center into left
Reply
Stitch_inferno Wrote:does the links work for anyone? im trying to get a sidebar but i cant understand how to get it.

Zaher hasn't been online for while now and seems like his site is down too, could be host problem i don't know, but all his mods/plugins can also be found at the MyBB Mods Site > http://mods.mybboard.net/
Reply
LeX Wrote:Thats why i hate custom themes =P Is the var {$post['country']} present in your postbit template ? If not, add it behind {$post['user_details']}

Yes, it's already there. The "Country:" shows up actually, but there's no flag. Coincidentally, the default avatar I specified on DennisTT's Default Profile hack doesn't show up either. Just to test if it's an image folder problem, I moved the default avatar's folder for the profile hack on GelGreens' directory (just so I wouldn't waste my time moving all the flags) and it didn't work either.

Alignment worked though, thanks.

PS: Since you're here also I might as well bring this up, heh. I have a small error with your Favorite Threads mod:

MySQL error: 1366
Incorrect integer value: '' for column 'tid' at row 1
Query: INSERT INTO mybb_templates (tid, title, template, sid, version, dateline) VALUES ('', 'memberprofile_ftp', '
\n\n\n\n\n\n{$ftps}\n\n
{$title}
', '-1', '1.0', '1148741714')
Reply
I checked the source file of the thread to see if it's asking for "images/flags/<country>.gif" and I saw this:

<!-- Start: country --><div>Country: <img src="images/flags/6.gif" title="6" align="left">

6.gif?
Reply
SaintofKillers Wrote:I checked the source file of the thread to see if it's asking for "images/flags/<country>.gif" and I saw this:

<!-- Start: country --><div>Country: <img src="images/flags/6.gif" title="6" align="left">

6.gif?

Its filling in the fid of the custom field, not the content.
Are you using the custom field that's created by the plugin? That huge select box called "User Country" ? =P So you've went to your UCP - Edit Profile, and filled in your User Country and Pressed Update Edit Profile ? The Country Flag setting in your ACP remains blank.

And for me plugin, can you try the attached file ... i'm always using NULL for the tid column when adding a new template, don't know why he sees that as a "integer" ... =P

Edit
Just noticed something, that 'template' you've tried to add aint what it should be ... ?
Should be
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$title}</strong></td>
</tr>
<tr>
{$ftps}
</tr>
</table>


Attached Files
.php   ftp.php (Size: 3.57 KB / Downloads: 85)
Reply
LeX- Wrote:Its filling in the fid of the custom field, not the content.
Are you using the custom field that's created by the plugin? That huge select box called "User Country" ? =P So you've went to your UCP - Edit Profile, and filled in your User Country and Pressed Update Edit Profile ? The Country Flag setting in your ACP remains blank.

I'm using the default settings and yes, even that drop down box.

I forgot to mention that I was getting null errors when I first installed it so I did a search, followed your advice on a guy who had the same problem (different plug-in) and took off the "gid" => "NULL" and sid null and I was able to activate it and even the "Country:" shows up, but no image which is why I went here.

This was the null error that won't let me activate it:

MySQL error: 1366
Incorrect integer value: 'NULL' for column 'gid' at row 1
Query: INSERT INTO mybb_settinggroups (gid, name, title, description, disporder, isdefault) VALUES ('NULL', 'Country Flag', 'Country Flag', 'Settings for country flag.', '3', 'no')

LeX- Wrote:And for me plugin, can you try the attached file ...

Got it working now, chief Smile
Reply
Weird =P Do you have a test account on your forum that i can use for a sec ?
Reply
You got PM, dude.
Reply
SaintofKillers Wrote:You got PM, dude.

About the Default Profile question, that works fine overhere ... did you changed any settings for it ? Especially the "Avatar URL" && "Show Avatars" setting ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)