MyBB Community Forums

Full Version: problems with myalerts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I changed the theme and Myalerts dissapear, this is my headerinclude code

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/customjs/popup_menu.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/customjs/fixedmenu.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = {$mybb->user['unreadAlerts']};
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>
{$stylesheets}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}


and the theme is this one http://mybbwebdesign.com/mydownloads.php...own&did=10 thanks in advanced dudes.. Smile

(2014-09-02, 09:38 PM)garra8 Wrote: [ -> ]I changed the theme and Myalerts dissapear, this is my headerinclude code


<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/customjs/popup_menu.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/customjs/fixedmenu.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = {$mybb->user['unreadAlerts']};
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>
{$stylesheets}
<script type="text/javascript">
<!--
 var cookieDomain = "{$mybb->settings['cookiedomain']}";
 var cookiePath = "{$mybb->settings['cookiepath']}";
 var cookiePrefix = "{$mybb->settings['cookieprefix']}";
 var deleteevent_confirm = "{$lang->deleteevent_confirm}";
 var removeattach_confirm = "{$lang->removeattach_confirm}";
 var loading_text = '{$lang->ajax_loading}';
 var saving_changes = '{$lang->saving_changes}';
 var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
 var my_post_key = "{$mybb->post_code}";
 var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}


and the theme is this one     http://mybbwebdesign.com/mydownloads.php...own&did=10   thanks in advanced dudes.. Smile


Oh! I forgot to say the version of the plug in is the 1.05 and of course. HELLO!!
As far as I know MyAlerts isn't compatible yet due to the new javascript edits.

Have you updated that theme to 1.8?
Check the header_welcomeblock_member template to make sure <myalerts_headericon> is in there.
(2014-09-02, 09:41 PM)aaronnz Wrote: [ -> ]As far as I know MyAlerts isn't compatible yet due to the new javascript edits.

Have you updated that theme to 1.8?

no.. im using 1.6.12 and the theme is like I downloaded it. I've no made changes..

(2014-09-03, 06:42 AM)Euan T Wrote: [ -> ]Check the header_welcomeblock_member template to make sure <myalerts_headericon> is in there.

ok I will check. Thanks!

(2014-09-03, 06:42 AM)Euan T Wrote: [ -> ]Check the header_welcomeblock_member template to make sure <myalerts_headericon> is in there.

sorry but im pretty new in this about php and forums. but, here is my "header_welcomeblock_member template"

if I have to do something, please let me know, and thanks in advaced again, great support.

<li id='search'>
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" name="keywords" class="input-bg"value="Search..." onfocus="if(this.value == 'Search...') { this.value=''; }" onblur="if(this.value == '') { this.value='Search...'; }" />
<input type="submit" class="button "value="Go" />
</form>
</li>
<li><img src="images/mybbwdv1/icon_profile.png"><a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a></li>
<li><img src="images/mybbwdv1/icon_cp.png"><a href="{$mybb->settings['bburl']}/usercp.php">{$lang->welcome_usercp}</a></li>
<li><img src="images/mybbwdv1/icon_members.png"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><img src="images/mybbwdv1/icon_new_posts.png"><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li id='logout'><img src="images/mybbwdv1/icon_logout.png"><a href="{$mybb->settings['bburl']}/member.php?acti
Hi,

Try changing that template to the following:

<li id='search'>
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" name="keywords" class="input-bg"value="Search..." onfocus="if(this.value == 'Search...') { this.value=''; }" onblur="if(this.value == '') { this.value='Search...'; }" />
<input type="submit" class="button "value="Go" />
</form>
</li>
<li><img src="images/mybbwdv1/icon_profile.png"><a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a></li>
<li><img src="images/mybbwdv1/icon_cp.png"><a href="{$mybb->settings['bburl']}/usercp.php">{$lang->welcome_usercp}</a></li>
<li><img src="images/mybbwdv1/icon_members.png"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><img src="images/mybbwdv1/icon_new_posts.png"><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><myalerts_headericon></li>
<li id='logout'><img src="images/mybbwdv1/icon_logout.png"><a href="{$mybb->settings['bburl']}/member.php?acti
(2014-09-03, 08:27 AM)Euan T Wrote: [ -> ]Hi,

Try changing that template to the following:


<li id='search'>
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" name="keywords" class="input-bg"value="Search..." onfocus="if(this.value == 'Search...') { this.value=''; }" onblur="if(this.value == '') { this.value='Search...'; }" />
<input type="submit" class="button "value="Go" />
</form>
</li>
<li><img src="images/mybbwdv1/icon_profile.png"><a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a></li>
<li><img src="images/mybbwdv1/icon_cp.png"><a href="{$mybb->settings['bburl']}/usercp.php">{$lang->welcome_usercp}</a></li>
<li><img src="images/mybbwdv1/icon_members.png"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><img src="images/mybbwdv1/icon_new_posts.png"><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><myalerts_headericon></li>
<li id='logout'><img src="images/mybbwdv1/icon_logout.png"><a href="{$mybb->settings['bburl']}/member.php?acti


OMG! it work like a miracle! thank you sooo much! and.. off topic question.. can you suggest me a good thanks system for the forum? thanks in advanced! you are so great! Great plugin support you did, and you do. Smile
If you just want alike system, SimpleLikes is pretty good Wink https://github.com/euantorano/simplelikes
(2014-09-03, 08:39 AM)Euan T Wrote: [ -> ]If you just want  alike system, SimpleLikes is pretty good Wink https://github.com/euantorano/simplelikes

thanks!!!! installed, and by the way, why is the alert menu in blurry letters? is a knew problem? I attached a photo.
Looks like the theme applies a text-shadow to the area where MyAlerts is. You'll have to edit the alerts.css from Admin > Themes & Templates > Themes > *YOUR THEME* > alerts.css. CHange the following:

.myalerts_popup_wrapper .myalerts_popup {
	background:#fff;
	width:350px;
	max-width:350px;
	box-shadow:0 0 10px rgba(0,0,0,0.2);
	position:absolute;
	left:0;
	z-index:9999;
}

To:

.myalerts_popup_wrapper .myalerts_popup {
	background:#fff;
	width:350px;
	max-width:350px;
	box-shadow:0 0 10px rgba(0,0,0,0.2);
	position:absolute;
	left:0;
	z-index:9999;
        text-shadow: none;
}
thanks! all my doubts with your plugin has been solved... still having shadow in username and in thread name in the alerts, but I think that is the shadow problem, I will try to solve it. expecting not to crash all the theme Sad hahaha. thanks again.
Pages: 1 2