Customizing SMF > Modifications and Packages
Next Post Level [SMF 2.0 Final Suported]
Exsharaen:
Again, when using any language other than English at SMF 2, I got this critical error (based on the log) when viewing any profile:
--- Quote ---Wrong value type sent to the database. Integer expected. (member_posts)
Function: summary
File: /.../forum/Sources/Profile-View.php
--- End quote ---
The cause was the same as I wrote here, 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:
--- Code: ---$context['member']['posts']
--- End code ---
and replace with this:
--- Code: ---$context['member']['real_posts']
--- End code ---
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 :)
Old Fossil:
--- 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?
--- End quote ---
--- End quote ---
I feel like uninstalling the mod.
gustavomf:
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 !
pixeleyes:
How to add NEXT POST LEVEL under the Poster area
in Display.template.php
Navigation
[0] Message Index
[*] Previous page
Go to full version