Profile Comments Test

← Profile System Support — Started 28 Aug, 2011

Oh, yes! Big Grin
Is there any date set?

PD: Wow! Nice quick reply! ^^
0  
Reply
If you're using Profile Comments, you need to update a template to make sure the style for Chrome/Firefox remains consistent.

Open the member_profile_comments_modbit_delete template in the MyNetwork Template Set. Replace it with the below code.

Code:
<div class="float_left">
    <form method="post" action="member.php?action=profile&amp;uid={$comment['uid']}" id="r_f_{$comment['cid']}" onsubmit="a = confirm('{$confirm_title}'); if(a){ ProfileComments.removeComment(this); return false; } return false;">
        <input type="hidden" name="view" value="comments" />
        <input type="hidden" name="action2" value="remove_comment" />
        <input type="hidden" name="comm[{$comment['conv']}][cid]" value="{$comment['cid']}" />
        <input type="hidden" name="comm[{$comment['conv']}][conv]" value="{$comment['conv']}" />

        <input type="submit" value="" class="button reset" title="{$button_title}"  />
    </form>
</div>

If you're experiencing problems loading the Comments tab, for example you click on Comments and it doesn't load, download Profile Comments and re-upload all the files.
0  
Reply
Nice! Now runs perfect! Big Grin

Only one thing... If I want to change the position of the yelow comment alert? I dont find a variable in the header templates.

Thanks!
0  
Reply
Unfortunately I haven't added an option for that yet. Open ./inc/network/m_comments.php, and find this:

Code:
$header = str_replace("<navigation>", $notice_alert."<navigation>", $header);

Replace it with

Code:
$header = str_replace("<!-- COMMENT_NOTICE -->", $notice_alert, $header);

Then, in your header templates, just add <!-- COMMENT_NOTICE --> and it should appear. Smile
0  
Reply
nentab
9 Nov, 2011, 3:48 pm (This post was last modified: 9 Nov, 2011 4:00 pm by nentab.)
It works! Thank you @Tomm!

I install in SoporteMyBB! :3
0  
Reply
Looks good nentab! I'm hoping to improve a lot of things in Beta 3 but if you notice any problems in the mean time please let me know!
0  
Reply
Of course! You know I'll always reported all I can. Smile
0  
Reply
Very nice nentab Smile
MyBB Tutorials and Development
Philippine Webmasters Community
0  
Reply
Thank you @nadlerz!
0  
Reply
Hi!

Now that we're using the plugin on my forum... I think notifications in the profiles is quite urgent, otherwise you'll never learn that you have responded.
0  
Reply

User(s) browsing this thread: 2 Guest(s)