Basic 2.0.8 BETA has been released!
Anonymous,

Please Login or Register
Download Nuke Evolution today for a CMS you can enjoy using and sharing with your friends!

[ Download Now ]
Forum Index  ·  Search  ·  Usergroups  ·  Edit your profile  ·  Members  ·  Log in to check your private messages 
Ranks  ·  Staff  ·  Statistics  ·  Board Rules  ·  Forum FAQ  ·  Log in

Search for at
Nuke-Evolution.com Advanced Search


+
Latest Site News   Next 6 >>  
 Forum   Author   Replies   Last Post 
[RELEASE] 2.1.0 Evo Final Version Official Evo Communiques ReOrGaNiSaTiOn 10 Sat Sep 04, 2010 8:45 am
Spiders View latest post
[WANTED] Official translators for different languages Official Evo Communiques ReOrGaNiSaTiOn 3 Sun Jul 25, 2010 1:38 am
killigan View latest post
The Future of Nuke Evolution Official Evo Communiques killigan 12 Mon Jul 12, 2010 4:10 pm
Virus7 View latest post
New PHPBB-Evolution & Evolution-CMS Sites Official Evo Communiques Technocrat 61 Sun Jul 11, 2010 10:38 pm
Crysis View latest post
phpBB-Evolution Alpha 1 Release Official Evo Communiques Technocrat 7 Sun Aug 23, 2009 2:10 am
coopvet2000 View latest post
Other "versions" Official Evo Communiques Technocrat 0 Fri Aug 21, 2009 11:52 am
Technocrat View latest post
 
Recent Topics   Next 14 >>  
 Forum   Author   Replies   Last Post 
Coding Lessons General killigan 12 Mon Aug 23, 2010 10:32 am
SgtLegend View latest post
Nuke Evolution 2.0.8 Beta Release Nuke Evolution 2.0.8 Beta killigan 10 Thu Aug 19, 2010 3:16 am
SgtLegend View latest post
Video Tutorials (Nuke Evolution Guides) General killigan 9 Sat May 22, 2010 2:45 pm
SgtLegend View latest post
[EXPERIMENTAL] SQL Indexes Improvements (Speed up your site) 2.0.x Official Problems & Fixes Technocrat 20 Mon Oct 05, 2009 6:24 am
ReOrGaNiSaTiOn View latest post
[FIX] - Private_Messages bargraph 2.0.x Official Problems & Fixes bigbang 6 Thu Jul 02, 2009 10:54 pm
bigbang View latest post
[SECURITY FIX] CAPTCHA 2.0.x Official Problems & Fixes Technocrat 8 Tue Apr 28, 2009 7:15 am
davespanzer View latest post
[SECURITY FIX] Your Account 2.0.x Official Problems & Fixes ReOrGaNiSaTiOn 7 Tue Apr 28, 2009 7:15 am
davespanzer View latest post
[FIX] Correct Cookie Settings (Invalid Session Error) 2.0.x Official Problems & Fixes Technocrat 208 Thu Feb 19, 2009 1:46 pm
Technocrat View latest post
[FIX] Forum Search 2.0.x Official Problems & Fixes Technocrat 3 Mon Jan 05, 2009 7:25 pm
ninowebs View latest post
Idea PLEASE SEARCH FIRST! -- Simple How-To General Tulisan 9 Tue Dec 16, 2008 3:15 pm
sameera View latest post
a few simple questions Modules jonny569 0 Thu Sep 09, 2010 10:08 pm
jonny569 View latest post
lost block General Joplin 2 Thu Sep 09, 2010 6:09 pm
Joplin View latest post
Hello from (old) PHP-Nuke world... General Mamoru-kun 5 Thu Sep 09, 2010 3:05 am
Mamoru-kun View latest post
Can't change General Site info 2.0.x Post-Install Help Jotunhammer 1 Tue Sep 07, 2010 11:39 pm
Daveran27703 View latest post

[FIX] - Private_Messages bargraph

 
Post new topic   Reply to topic   printer-friendly view    Nuke-Evolution.com Forum Index -> 2.0.x Official Problems & Fixes
View previous topic :: View next topic  
Author Message
bigbang
New To The Evolution
New To The Evolution



Joined: Jan 28, 2008
Posts: 11


Status: Offline
PostPosted: Sun Apr 12, 2009 12:37 am Post subject: [FIX] - Private_Messages bargraph Reply with quote

What I have attached will repair the graphic bar graph of your Private Messages’ Inbox, Sent Box, and Save Box.  This is for Nuke_Evolution 2.0.7

Files effected are:
/modules/Private_Messages/index.php
/themes/chromo/forums/forums.cfg
 /themes/chromo/forums/primsgs_body.tpl

If you are using a theme other than chromo you need to merge these changes into your files.

Please back up these 3 files before uploading the files in the attachment.

-disclamer-
The concept of this repair is based upon code used in Evolution 2.1.0 and full credit goes towards the development team of Evolution series.

This has been tested and approved by me - TECHNOCRAT
Back to top
View user's profile Send private message
Technocrat
Developer
Developer



Joined: Jan 06, 2005
Posts: 10995
Location: Hell

Status: Offline
PostPosted: Wed Apr 15, 2009 11:23 am Post subject: Re: [FIX] - Private_Messages bargraph Reply with quote

Thanks for the fix






phpBB-Evolution / phpBB-Evolution Blog
Technocrat's blog / Ways to thank me
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
davespanzer
New To The Evolution
New To The Evolution



Joined: Feb 06, 2009
Posts: 14


Status: Offline
PostPosted: Fri Apr 17, 2009 12:47 pm Post subject: Re: [FIX] - Private_Messages bargraph Reply with quote

Nice 1, worked well Smile
Back to top
View user's profile Send private message Visit poster's website
Logan12
Evolution User
Evolution User



Joined: Aug 26, 2008
Posts: 31


Status: Offline
PostPosted: Sun May 03, 2009 9:39 pm Post subject: Re: [FIX] - Private_Messages bargraph Reply with quote

What code was added or changed? it would be simpler for those that have modded those files to know the changes made.
Back to top
View user's profile Send private message Visit poster's website
bigbang
New To The Evolution
New To The Evolution



Joined: Jan 28, 2008
Posts: 11


Status: Offline
PostPosted: Wed May 06, 2009 2:30 am Post subject: Re: [FIX] - Private_Messages bargraph Reply with quote

Logan12 wrote (View Post):
What code was added or changed? it would be simpler for those that have modded those files to know the changes made.


Ok if you wish to know, I did comment the code in the standard convention.
The heart of what was breaking the bargraph was that the $inbox_limit_img_length was not correct and got broken because if the Enhanced BBGroups mod
Look at around line 2634, where I commented out the Enhanced BBGroups code and you will see where I added alternate code under it.

The rest of this offering was to make the bargraph like what was done in 2.1.0, which I personally liked the look of.
I just liked the colored bargraph better than the solid white bargraph
I guess look through the 3 files. I commented correctly. look for PM Switchbox Repair
Back to top
View user's profile Send private message
Logan12
Evolution User
Evolution User



Joined: Aug 26, 2008
Posts: 31


Status: Offline
PostPosted: Wed May 06, 2009 9:35 am Post subject: Re: [FIX] - Private_Messages bargraph Reply with quote

Thank you.
Might want to fix the profile_view_body.tpl as well. I have tried but, I think userinfo.php needs edited and I can't find where it's getting called from.
Back to top
View user's profile Send private message Visit poster's website
bigbang
New To The Evolution
New To The Evolution



Joined: Jan 28, 2008
Posts: 11


Status: Offline
PostPosted: Thu Jul 02, 2009 10:54 pm Post subject: Re: [FIX] - Private_Messages bargraph Reply with quote

Logan12 wrote (View Post):
Thank you.
Might want to fix the profile_view_body.tpl as well. I have tried but, I think userinfo.php needs edited and I can't find where it's getting called from.



Login12
Ok , here is what should work regarding what you are asking for.  Permit me to be clear on this, I have not tested this on Basic!  Only on Xtreme. But the code looks the same and I am as sure this is a valid solution as I can be without actually applying it to Evo Basic.  I am using it on my site.

So I would be grateful if someone could confirm this. The great and all knowing Technocrat would be an excellent endorser!   hint hint  Laughing

But, if you are reading this! Be sure you understand that Technocrat has not blessed this until such time that he edits this post and puts his stamp of approval on the following solution to your request. And of course the support staff here has no responsibility for this unofficial solution to your request.



Ok if you would like to have the bargraph of the upload quota that you see in the view profile ( if you hit the "Account" nav bar button)

# Backup and then open /includes/usercp_viewprofile.php
#
# Find
#
Code:
 'SEARCH_IMG' => $search_img,

#
# Before, and on a new line, add
#
Code:

 /*****[Begin]******************************************
 [ Mod:     PM Switchbox Repair                  v1.0.1 ]
 *******************************************************/
        'LCAP_IMG' => $images['voting_lcap'],
        'MAINBAR_IMG' => $images['voting_graphic'][0],
        'RCAP_IMG' => $images['voting_rcap'],
 /*****[END]********************************************
 [ Mod:     PM Switchbox Repair                  v1.0.1 ]
 *******************************************************/

#
#
# Backup and then Open /themes/chromo/forums/profile_view_body
#
# Find
#
Code:
<!-- BEGIN switch_upload_limits -->
        <tr>
            <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
            <td>
                <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
                <tr>
                    <td colspan="3" width="100%" class="row2">
                        <table cellspacing="0" cellpadding="1" border="0">
                        <tr>
                            <td bgcolor="{T_TD_COLOR2}"><img src="themes/chromo/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
                        </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="33%" class="row1"><span class="gensmall">0%</span></td>
                    <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
                    <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
                </tr>
                </table>
                <strong><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </strong><br />
                <span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
            </td>
        </tr>
        <!-- END switch_upload_limits -->

#
#
# Replace with
#
#
Code:
<!-- BEGIN switch_upload_limits -->
        <tr>
            <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
            <td>
                <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
                <tr>
                    <td colspan="3" width="100%" class="row2">
                        <table cellspacing="0" cellpadding="1" border="0">
                        <tr>
                            <td>
                               <img src="{LCAP_IMG}" width="4" height="13" alt="" /><img src="{MAINBAR_IMG}" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="13" alt="{UPLOAD_LIMIT_PERCENT}" /><img src="{RCAP_IMG}" width="4" height="13" alt="" />
                            </td>    
                        </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td width="33%" class="row1"><span class="gensmall">0%</span></td>
                    <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
                    <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
                </tr>
                </table>
                <strong><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </strong><br />
                <span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
            </td>
        </tr>
        <!-- END switch_upload_limits -->


Again I need to emphasis; I have NOT tested this in Basic 2.0.7
I have only tested and used this on Xtreme 2.0.7 and am very sure it is the same code, but there is nothing like actually applying it to Basic 2.0.7.
If someone would be willing to test this to confirm validity, that would be great!
Again be sure to have saved the original 2 files. This is a quick and easy alteration to complement the bargraph of the private messages’ mailboxes.  And if this is not a valid solution, we need to get this post removed ASAP!
Back to top
View user's profile Send private message
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view Nuke-Evolution.com Forum Index ->  2.0.x Official Problems & Fixes All times are UTC - 5 Hours [DST enabled]
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Powered by phpBB © 2001, 2006 phpBB Group

EvoXtreme Theme by SgtLegend
Forums ©