(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpacks.com%2Fimagenes%2Fnuevo_logo_mod.png&hash=2daa61076ed8f0f60f0c644dc6087aa62fb85c81) (http://www.smfpacks.com)
Next Post Level v1.3.3 - NIBOGO
Shows the how many posts to the next posting level on the users profile.
Website (http://www.smfpacks.com) | Donate (http://www.smfpacks.com/donate.php) | Support topic (http://www.simplemachines.org/community/index.php?topic=246010.0) | Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1268) | My Mods (http://custom.simplemachines.org/mods/index.php?action=search;author=126412)
Important Info:
o This Mod was created by SMFPacks.com - The #1 Website for the Customziation of your SMF.
SMFPacks.com Provides Other Great Packages:
- Reason for Editing Mod.
- Yet Another Global Announcements Mod.
- SMF Social Groups.
- SMF Links Directory.
- SMF Downloads Directory.
- SMF Dynamic Directory.
- Advanced Topic Prefix Mod.
- Advanced Invitations System.
- Move Topic Notification.
- PM to New Members.
- Permissions Info.
- Next Post Level.
- Karma Buttons.
- SMF Multi Quote.
- Attachments in Topics.
- and much more visit us on SMFPacks.com
Author:
- NIBOGO
Features:
o Adds the next post group level with no. of required posts to the Profile Summary
- eg Next Posting Level (Jr. Member) in 45 posts.
o Can be disabled for Users in non-post-based groups (eg Administrator) via Admin > Current Theme > Hide post group titles for grouped members?
o Supports Languages
- English/English-utf8
- English_British/English_British-utf8
- Spanish_latin/Spanish_latin-utf8
- Spanish_es/Spanish_es-utf8
- Indonesian/Indonesian-utf8 (Thanks Exsharaen)
- Turkish/Turkish-utf8 (Thanks Yagiz...)
I welcome translations for other languages. Please post the translated language strings in the Support Topic.
o Created by karlbenson developed by NIBOGO
Compatibility:
- 2.0
- 1.1.X
Special Thanks:
- Karlbenson: The original author of the mod
Changelogs:Version 1.3.3 -
Jul 29, 2011- Added support for SMF 2.0 and 1.1.14
Version 1.3.2 -
Jul 10, 2009- Added support for SMF 1.1.9, 1.1.10 and future release
Version 1.3 -
Jul 10, 2009- Fixed a critical bug for SMF 2.0. Please upgrade if you are using this version
- For SMF 1.1.X there are no changes so is not neccesary the upgrade
Version 1.2 -
Apr 14, 2009- Added Support for SMF 2.0 RC1 & 1.1.8
- NIBOGO take over the Next Post Level Mod
- Added Spanish, Indonesian and Turkish Support with utf8 too
Version 1.0 -
June 22, 2008- Modification Released by Karlbenson
...best, Best, BEST mod ever! 8) THX
Very nice mod Karl. Here Turkish translation:
// Start of Next Post level Mod
// - %s gets replaced by the membergroup / post count
$txt['nextpostlevel_next'] = '(%s) olmanız için';
$txt['nextpostlevel_inposts_singular'] = ' %s mesaj daha atmalısınız.';
$txt['nextpostlevel_inposts_plural'] = ' %s mesaj daha atmalısınız.';
$txt['nextpostlevel_glassceiling'] = 'En son seviyeye geldi.';
// End of Next Post level Mod
Spanish:
// Start of Next Post level Mod
// - %s gets replaced by the membergroup / post count
$txt['nextpostlevel_next'] = 'Siguiente nivel de posteo (%s)';
$txt['nextpostlevel_inposts_singular'] = ' en %s mensaje.';
$txt['nextpostlevel_inposts_plural'] = ' en %s mensajes.';
$txt['nextpostlevel_glassceiling'] = 'Ha alcanzado el maximo nivel de posteo.';
// End of Next Post level Mod
Awesome mo.
PD: are something in smf of you cant do?
so beatiful this mod and thanks NIBOGO for the traduction !!
thanks!!!
baiis
As usual, awesome Mod karl. But just in case you didn't notice i wanted to point out that the "Link to Mod" and "Support Topic" links aren't pointing to the right things. They are pointing to "?mod=x" and "?topic=x.0" respectively. Im assuming that its like this because the proper links didn't exist at the time of construction. Anyway, like i said at the beginning: awesome mod! Thank You Very Much!
Thanks Violat3r
and yes. The mod link is only created on submission, and the topic link only on approval.
I will fix both really soon.
Thanks again
No problem, and i got a problem when i installed that i wanted everyone to just be aware of. Upon installation the language strings code was visible at the top of my forum. I've had this problem before so i knew how to fix it, just go into your Modifications.english.php (or w/e language your using) and go to the bottom, find "?>" and make sure its on its own line at the very bottom of the file, below ALL writing of any kind. It appears this was caused because one of the last mods i installed was the SMF Arcade and the last string in it has the install code directly after the string, so it puts the "?>" right after it. So when this was installed it couldn't place it properly. But yea, fixed now, just making sure people know if it happens to them.
The Spanish translation is missing the accents...
$txt['nextpostlevel_glassceiling'] = 'Ha alcanzado el máximo nivel de posteo.'; UTF8
$txt['nextpostlevel_glassceiling'] = 'Ha alcanzado el máximo nivel de posteo.'; Spanish
Mod installed without a problem and works great. :).
nice idea, but i wont use it, i think it will encouge spamming. maybe on a forum with lots of contral would be good
Quote from: Basicallyimjesus on June 30, 2008, 09:47:42 PM
nice idea, but i wont use it, i think it will encouge spamming. maybe on a forum with lots of contral would be good
If someone is going to spam a forum, their going to do it whether you have this mod installed or not. From past experience running various forums, most members like to know what the ranks/post levels are on a site. I also have a topic posted that shows the various Ranks/Post counts so having this in addition to that topic helps members out tremendously by automatically calculating the numbers for them.
If your that worried about spam and you dont have enough staff on your site to control spam, just set up a spam board. Give them a specific place to post spam or whatever and theres your control. Your always gonna have people posting things they shouldnt, etc, but a spam board will help you out with that.
Any chance of getting this for SMF 2 Beta?
At some point, but I'm a bit busy for the moment.
Quote from: Kimmie on June 30, 2008, 10:11:33 PM
Quote from: Basicallyimjesus on June 30, 2008, 09:47:42 PM
nice idea, but i wont use it, i think it will encouge spamming. maybe on a forum with lots of contral would be good
If someone is going to spam a forum, their going to do it whether you have this mod installed or not. From past experience running various forums, most members like to know what the ranks/post levels are on a site. I also have a topic posted that shows the various Ranks/Post counts so having this in addition to that topic helps members out tremendously by automatically calculating the numbers for them.
If your that worried about spam and you dont have enough staff on your site to control spam, just set up a spam board. Give them a specific place to post spam or whatever and theres your control. Your always gonna have people posting things they shouldnt, etc, but a spam board will help you out with that.
i installed it but it doesnt work with my theme(changed my mind), what do i have to change manually.
You will have to install it manually. Go to the mod page and select which version of SMF you are using (top right). It will show you all the code edits you need to make.
As with most mods, if your using a theme other than the default theme, they will have to be installed manually.
how can i change the colour of the text?
sorry for the simple question i am a newb
Quote from: jepot5 on July 04, 2008, 03:49:24 AM
how can i change the colour of the text?
sorry for the simple question i am a newb
In /Themes/your_theme/Profile.template.php
Search:
// Start of Next Post Level Mod
if(!empty($context['member']['nextpostlevel']))
echo '
<tr>
<td colspan="2" align="center">'. $context['member']['nextpostlevel'] .'</td>
</tr>';
// End of Next Post Level Mod
Replace:
// Start of Next Post Level Mod
if(!empty($context['member']['nextpostlevel']))
echo '
<tr>
<td colspan="2" align="center"><font color="red">'. $context['member']['nextpostlevel'] .'</font></td>
</tr>';
// End of Next Post Level Mod
You can change the "<font color="red">" to another color ;)
ok thanks it's all right now
Hi all,
We had issues on sunday , where the server crashed and we have got the sit eback now, but we have an issues with certain parts of the member profiles causing some issues..
When i click on Admin members name i get this error
Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '214
ORDER BY minPosts
LIMIT 1' at line 3
File: /home/cxtxtsju/public_html/forum/Sources/Profile.php
Line: 1349
But when i move the coding from the profile.php. it will work like a treat with no isses.
i am not sure what is causing these issues and i would like to get this resolved.
I'm batting a thousand today.
This mod does not work for my site at all, and I did edit the respective theme (Manuscript).
Here ya go:
http://www.heartlandoutdoorsman.com/smf/index.php
This error is only happing to site admin, Is there a reason why this is happing and which part of the database we do we need to fix
We have added more groups and still not working at all.
PLEASE Help us fix these issues
Nice job!
Superb.
Thanks a lot for this. :)
Actually I have a request....
Can you make it fit in with the profile better?
So, instead of...
Next Posting Level (Full Member) in 27 posts.
It's like this...
Next Posting Level: (Full Member) in 27 posts
In other words, it should look just like the other things in the profile, instead of being centered. And also the position should be directly underneath 'posts', instead of after 'last active'.
EXAMPLE...
Name: Basie
Posts: 4 (N/A per day)
Next Posting Level: (Jr. Member) in 46 posts. <--- <--- <--- <----
Position: Administrator
IP: XXX
Hostname: XXX
Date Registered: August 13, 2008, 05:39:20 PM
Last Active: Today at 04:36:28 PM
*bump*
Any comment on my suggestion from the mod author?
The information was intentionally not put like the other information.
Since the other information is 'actual' information. While this is possible/future information. [especially keeping to well away from the 'current' post group title.)
Besides I don't really intend to work on this mod much further.
Although it would be VERY easy for you to edit the code that was added to Profile.template.php to make it look however you want it. (but i don't have the time I'm afraid to help you do that).
One more question... What is displayed when the user achieves the final posting level? Or does it simply display nothing?
karl - did you get my PM about the ultimate profile?
@Basie
Nothing if its the highest post-level.
@lax.slash
Oops sorry for not replying. Yes i did receive it, although there isn't anything i can do with it to be honest.
And I definately don't have the time, nor desire to help with conflicts with other mods.
To be truthful, I expect I'll be starting another 'want to take over my mods' topic again, as i don't have the desire to work on existing ones anymore (apart from my auto embed video/audio clips mod).
Quote from: karlbenson on August 16, 2008, 09:22:10 PM
@lax.slash
Oops sorry for not replying. Yes i did receive it, although there isn't anything i can do with it to be honest.
And I definately don't have the time, nor desire to help with conflicts with other mods.
To be truthful, I expect I'll be starting another 'want to take over my mods' topic again, as i don't have the desire to work on existing ones anymore (apart from my auto embed video/audio clips mod).
It's okay! I haven't had too much time this month either... lol
-great mod well received by community.
thanks
darrell
karl
getting this
when a member gets this ammount of post 167799
you cant acess there profile you just get this
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'am a geek!!
ORDER BY minPosts
LIMIT 1' at line 3
File: C:\wdm\htdocs\dev\Sources\Profile.php
Line: 1537
soon as you lower the post count you can acess the profile
lines around 1537
// Start of Next Post Level Mod
global $settings;
if ((empty($settings['hide_post_group']) || $context['member']['group'] == '') && $context['member']['post_group'] != '')
{
// Grab the next highest post group above the current post count
$request = db_query("
SELECT ID_GROUP, groupName, minPosts
FROM {$db_prefix}membergroups
WHERE minPosts > ".$context['member']['posts']."
ORDER BY minPosts
LIMIT 1
", __FILE__, __LINE__);
if(mysql_num_rows($request) == 0)
$context['member']['nextpostlevel'] = $txt['nextpostlevel_glassceiling'];
else
{
// Found a row
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
// Build the next post level string
$context['member']['nextpostlevel'] = sprintf($txt['nextpostlevel_next'], $row['groupName']) .
sprintf($txt['nextpostlevel_inposts_'. (($row['minPosts'] - $context['member']['posts'] == 1) ? 'singular' : 'plural' )], $row['minPosts'] - $context['member']['posts']);
// Tidy up
unset($row);
}
}
// End of Next Post Level Mod
thx I'll have to look at it.
Hi, I like your mod! Although it may lead to spamming, I think it will encourage users to post more, since I have some level-restricted boards.
This is the translation for Indonesian:
$txt['nextpostlevel_next'] = 'Level berikutnya (%s)';
$txt['nextpostlevel_inposts_singular'] = ' dalam %s tulisan.';
$txt['nextpostlevel_inposts_plural'] = ' dalam %s tulisan.';
$txt['nextpostlevel_glassceiling'] = 'Sudah mencapai level tertinggi!';
Anyway, be careful about Default number format setting in ACP > Features and Options. If you use anything other than 1,234.00, this mod will give you odd results. For example, if the setting were changed to 1.234,00, 1200 will be treated as 1.200; "one point two" post instead of "one thousand and two hundred" posts. Worse, it will generate a MySQL error if the setting is 1 234,00. And, if someone has more than 100000 posts or exactly 1337 posts, it will also generate a MySQL error (wdm2005's problem).
After some trial and errors (I never write a mod before so I don't know SMF system at all), I find a fix for this problem. In Sources/Profile.php, find this code (it will lay in line 1205 with no other mods installed):
// Grab the next highest post group above the current post count
$request = db_query("
SELECT ID_GROUP, groupName, minPosts
FROM {$db_prefix}membergroups
WHERE minPosts > ".$context['member']['posts']."
ORDER BY minPosts
LIMIT 1
", __FILE__, __LINE__);
Replace $context['member']['posts'] with $context['member']['real_posts']. The complete code:
// Grab the next highest post group above the current post count
$request = db_query("
SELECT ID_GROUP, groupName, minPosts
FROM {$db_prefix}membergroups
WHERE minPosts > ".$context['member']['real_posts']."
ORDER BY minPosts
LIMIT 1
", __FILE__, __LINE__);
Then, find this one (line 1221):
// Build the next post level string
$context['member']['nextpostlevel'] = sprintf($txt['nextpostlevel_next'], $row['groupName']) .
sprintf($txt['nextpostlevel_inposts_'. (($row['minPosts'] - $context['member']['posts'] == 1) ? 'singular' : 'plural' )], $row['minPosts'] - $context['member']['posts']);
and do the same. The complete code:
// Build the next post level string
$context['member']['nextpostlevel'] = sprintf($txt['nextpostlevel_next'], $row['groupName']) .
sprintf($txt['nextpostlevel_inposts_'. (($row['minPosts'] - $context['member']['real_posts'] == 1) ? 'singular' : 'plural' )], comma_format($row['minPosts'] - $context['member']['real_posts']));
To check or if you are too afraid to make mistakes, here's the complete code after alteration:
// Start of Next Post Level Mod
global $settings;
if ((empty($settings['hide_post_group']) || $context['member']['group'] == '') && $context['member']['post_group'] != '')
{
// Grab the next highest post group above the current post count
$request = db_query("
SELECT ID_GROUP, groupName, minPosts
FROM {$db_prefix}membergroups
WHERE minPosts > ".$context['member']['real_posts']."
ORDER BY minPosts
LIMIT 1
", __FILE__, __LINE__);
if(mysql_num_rows($request) == 0)
$context['member']['nextpostlevel'] = $txt['nextpostlevel_glassceiling'];
else
{
// Found a row
$row = mysql_fetch_assoc($request);
mysql_free_result($request);
// Build the next post level string
$context['member']['nextpostlevel'] = sprintf($txt['nextpostlevel_next'], $row['groupName']) .
sprintf($txt['nextpostlevel_inposts_'. (($row['minPosts'] - $context['member']['real_posts'] == 1) ? 'singular' : 'plural' )], comma_format($row['minPosts'] - $context['member']['real_posts']));
// Tidy up
unset($row);
}
}
// End of Next Post Level Mod
The problem here is that $context['member']['posts'] has ben formatted according to settings, so it is not longer reliable to be used in mathematic calculation. Also, if it's 1337, "leet" is returned instead (the same goes to 100000+ posts, it becomes "I am a geek!!"). That's why we encounter a MySQL error when viewing someone's profile whose post count is 1337 or 100000+. In the other hand, $context['member']['real_posts'] isn't formatted, so it is safe to use in calculation.
I hope this helps those who use non-English settings and get odd results (or errors) as I did. Please do correct me if I am wrong.
Thanks
Perfect Mod, thanks i see no problems with it.
I also do not think this is going to cause spam. I even have a groups page within my forum to show members what there status changes to after certain amount of posts including what each membergroup is and means etc.
Great mod and thanks, a little new feature added to my forum, will work well with my groups page.
Mathew
Changelogs:
Version 1.2 - Apr 14, 2009
- Added Support for SMF 2.0 RC1 & 1.1.8
- NIBOGO take over the Next Post Level Mod
- Added Spanish, Indonesian and Turkish Support with utf8 too
i dont know but icant see anything at my profile page ?
Quote from: Twenty6 on May 08, 2009, 10:16:07 AM
i dont know but icant see anything at my profile page ?
You should see the changes in all the member profiles, what is your theme?
I installed this but when I go to profiles it doesnt apear to be showing. Any ideas?
Any updates to the problem?
Quote from: Chit-Chat ChatterBox Boss on May 16, 2009, 01:34:15 PM
I installed this but when I go to profiles it doesnt apear to be showing. Any ideas?
You have to edit for your theme, if you are using default there is an error with the strings or with the Profile.template
Yes I am on default theme...
doesnt work with 1.1.9
it says the version isnt compatable with 1.1.9
can any1 see wats wrong? ???
Quote from: asifnur on June 23, 2009, 03:33:05 AM
can any1 see wats wrong? ???
Try the manual edit ;)
huh wat u mean?
there are no manual edit for 1.1.9 >:(
Have tried to manually edit the mod for 2.0 RC1-1 but there is nothing on the profile.
The theme we use is Blackrain v2
Any ideas?
Yea I have the same problem on my site even with manual install!
Bumping the topic due to no replies since previous post.
Changelogs:
Version 1.3 - JUl 10, 2009
- Fixed a critical bug for SMF 2.0. Please upgrade if you are using this version
- For SMF 1.1.X there are no changes so is not neccesary the upgrade
still doesnt work for 1.1.9
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
yup fix the problems please
Hmm I now have two showing in profiles.
Quote from: NIBOGO on May 28, 2009, 03:21:44 PM
Quote from: Chit-Chat ChatterBox Boss on May 16, 2009, 01:34:15 PM
I installed this but when I go to profiles it doesnt apear to be showing. Any ideas?
You have to edit for your theme, if you are using default there is an error with the strings or with the Profile.template
What are the errors?
this doesnt work with 1.1.10 .. how come its in that section can anyone update please looks like a great mod if i could get it working..
i changed it manually so u could install it..
but now when i view profile i get half of what it is supposed to show me
i get this the member group does not show do u know what i could do to fix this
Next Posting Level) in 46 posts -
supposed to have post group in there
Encountered an error on my install of SMF 2.0 RC1.2
Wrong value type sent to the database. Integer expected. (member_posts)
When viewing Profile Summary
Looked through, and didn't see anything wrong.
The only thing I can think of is the Referrals mod messing something up as it is right there with this code.
When I install this mod all that happens is that the "Location" line gets duplicated.
Forum Version : 2.0 RC 1.2
NIBOGO excelente MOD , funciona para la version 1.1.10 ?
Ya que a mi no me aparece nada y el parse no es para esta version
Quote from: gustavomf on September 30, 2009, 06:04:06 AM
NIBOGO excelente MOD , funciona para la version 1.1.10 ?
Ya que a mi no me aparece nada y el parse no es para esta version
Si funciona a la perfección
the installation was well !!! But...
it does not appear with my 1.1.10
it says the version 1.3 isnt compatable with 1.1.10 in parse.
NIBOGO podrias ayudarme ya que me parece barbaro este mod.
Lo instale editando el: ¨package-info.xml¨ agregando esto (lo que esta en rojo):
<install for="1.1.10, 1.1.8, 1.1.7, 1.1.6, 1.1.5, 1.1.4">
<uninstall for="1.1.10, 1.1.8, 1.1.7, 1.1.6, 1.1.5, 1.1.4">
por que no me lo dejaba instalar.
Se instalo bien pero no aparece nada, ni en ingles ni español y no encuentro ninguna opcion para activar.
Por favor ayuda NIBOGO !
Changelogs:
Version 1.3.2 - Jul 10, 2009
- Added support for SMF 1.1.9, 1.1.10 and future release
Nice Mod but there is a error.
Look at your smf2-0.xml
<file name="$themedir/Profile.template.php">
<operation>
<search position="after"><![CDATA[if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt>', $txt['location'], ':</dt>
<dd>', $context['member']['location'], '</dd>';]]></search>
<add><![CDATA[if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt>', $txt['location'], ':</dt>
<dd>', $context['member']['location'], '</dd>';
// Start of Next Post Level Mod
if(!empty($context['member']['next_post_level']))
echo '<dt>'.$txt['nextpostlevel_next'].'</dt>
<dd>'. $context['member']['next_post_level'] .'</dd>';
// End of Next Post Level Mod]]></add>
</operation>
</file>
edit
<file name="$themedir/Profile.template.php">
<operation>
<search position="replace"><![CDATA[if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt>', $txt['location'], ':</dt>
<dd>', $context['member']['location'], '</dd>';]]></search>
<add><![CDATA[if (!isset($context['disabled_fields']['location']) && !empty($context['member']['location']))
echo '
<dt>', $txt['location'], ':</dt>
<dd>', $context['member']['location'], '</dd>';
// Start of Next Post Level Mod
if(!empty($context['member']['next_post_level']))
echo '<dt>'.$txt['nextpostlevel_next'].'</dt>
<dd>'. $context['member']['next_post_level'] .'</dd>';
// End of Next Post Level Mod]]></add>
</operation>
</file>
Here the german
$txt['nextpostlevel_next'] = 'Nächstes Level';
$txt['nextpostlevel_inposts_singular'] = ' nach %s Beitrag';
$txt['nextpostlevel_inposts_plural'] = ' nach %s Beiträgen';
$txt['nextpostlevel_glassceiling'] = 'Höchstes Level erreicht';
Same problem.
Quote from: JBlaze on July 30, 2009, 01:28:25 AM
Encountered an error on my install of SMF 2.0 RC1.2
Wrong value type sent to the database. Integer expected. (member_posts)
When viewing Profile Summary
Looked through, and didn't see anything wrong.
The only thing I can think of is the Referrals mod messing something up as it is right there with this code.
Can any one help?
could be by karma?
no one :(
OK,
I fixed my problem.
This mod doesn't work for me.
Using 1.1.10
Hi,
I installed this mod but it didn't work so I deleted it but forgot to uninstall...
How can I uninstall the mod manually? :-\
Use the package parser in reverse.
EDIT: I have uninstalled this mod succesfuly by removing the // Start of the Next Post Level Mod until // End of the Next Post Level Mod in /Sources/Profile.php and /Themes/Default/Template.profile.php
;D
Make sure you
A. Check all the files which the mod changes
B. Check your forums error log.
hey dude do u know any ways to do like put the "- Has reached the highest post level -" ,or w/e comes for the other users ,
i want to move that text somewhere else .... somewhere like under the site menu....... is it possible?
Quote from: asifnur on March 24, 2010, 11:53:58 PM
hey dude do u know any ways to do like put the "- Has reached the highest post level -" ,or w/e comes for the other users ,
i want to move that text somewhere else .... somewhere like under the site menu....... is it possible?
Sure it's possible, you must move the query to somewhere else like the index.php and then set the $context['member']['next_post_level'] where you want to show it btw this is going to add 1 query for every page load
i dont get it bro.. im very newb. can u just tell me wat to do?
Quote from: asifnur on March 25, 2010, 07:07:07 PM
i dont get it bro.. im very newb. can u just tell me wat to do?
Sorry I don't have time to give you the code, only if you want as a paid work but you can try and ask me in case that you get an error or something
aw man dont be liek tht :( ima go all emo now
Quote from: asifnur on March 25, 2010, 09:03:30 PM
aw man dont be liek tht :( ima go all emo now
As I said I don't have time to do it for you, maybe someone else can do it or you can try isn't so hard ;)
so what do i have to do?
just create new code?
Which code would I require to add this to the Ultimate Profile mod?
Is there a way of implementing the code into message index ?
Updated for SMF 2.0 Final and 1.1.14
Quote from: Nibogo on June 29, 2011, 03:42:44 PM
Updated for SMF 2.0 Final and 1.1.14
Thanks for updating. It seems though that there's a ")" instead of ":" being displayed, though. Also,the mod duplicates the additional profile field "Location", for me.
Quote from: Richardgm on June 29, 2011, 03:54:27 PM
Quote from: Nibogo on June 29, 2011, 03:42:44 PM
Updated for SMF 2.0 Final and 1.1.14
Thanks for updating. It seems though that there's a ")" instead of ":" being displayed, though. Also,the mod duplicates the additional profile field "Location", for me.
Yes i have also noticed for admin its 2x location was wondering that normal members are ok though
Quote from: snooks on June 29, 2011, 05:45:37 PM
Quote from: Richardgm on June 29, 2011, 03:54:27 PM
Quote from: Nibogo on June 29, 2011, 03:42:44 PM
Updated for SMF 2.0 Final and 1.1.14
Thanks for updating. It seems though that there's a ")" instead of ":" being displayed, though. Also,the mod duplicates the additional profile field "Location", for me.
Yes i have also noticed for admin its 2x location was wondering that normal members are ok though
Same here:
- admins see location twice
- All accounts see "Next posting level)"
Nibogo, thanks for your work on this mod, but what would really be interesting is if you would also add the "Next Rank" detail while viewing the member posts, under the avatar. This would make it more visible and more practicial than having to check the member profile. Also, it will be more obvious to the members themselves, as most will not think to check their profile summaries to find this bit of useful information.
BTW, "Next Rank" sounds like a better description than "Next Post Level". It is also shorter, so should fit easily on one line under the Avatar, with the number of posts appearing on the right of that text description. Maybe you could add the editable description as customizable from the admin panel settings? That would be truly ideal.
Quote from: Brack1 on April 12, 2010, 07:44:55 PM
Which code would I require to add this to the Ultimate Profile mod?
se puede adaptar para que salga en el perfil pero con el MOD Ultimate Profile instalado ?
Sin este sale bien , con este mod no se visualiza y están muy buenos ambos mods !
Gracias
Again, when using any language other than English at SMF 2, I got this critical error (based on the log) when viewing any profile:
QuoteWrong value type sent to the database. Integer expected. (member_posts)
Function: summary
File: /.../forum/Sources/Profile-View.php
The cause was the same as I wrote here (http://www.simplemachines.org/community/index.php?topic=246010.msg1767532#msg1767532), and the fix is the same.
Quick fix for SMF 2:
1. Download
Profile-View.php (it resides in
Sources folder).
2. Open the file you just downloaded with any text editor (Notepad++ preferred).
3. Find any of these:
$context['member']['posts']
and replace with this:
$context['member']['real_posts']
You should find only two pieces of code inside summary function. Don't use Replace All if you're not sure.
4. Save, then reupload that file.
View any member for next post level and check for any errors in the log. It should go away.
Hope this helps :)
Quote from: Brack1 on July 11, 2011, 09:18:42 PM
Quote from: Brack1 on April 12, 2010, 07:44:55 PM
Which code would I require to add this to the Ultimate Profile mod?
I feel like uninstalling the mod.
great, now it works perfect!
how it could change the color to see: Next Level Posts in red?
_________________________
genial ahora me funciona perfecto !
como hago para que aparesca: Next Level Posts in red?
Gracias !
How to add NEXT POST LEVEL under the Poster area
in Display.template.php