We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Shoutbox Codes [II]
Topic Started: Jul 23 2013, 09:53 PM (327 Views)
Knox`
Member Avatar
Unofficial Request Assistant :D
[ *  *  *  * ]
Board Address: youcandesign.net
Board Software: ZB
Description:
Welcome bot through shoutbox, either through bot or admin name saying "Welcome (newly registered user's name with link to their profle) to Youcandesign!"

Also, is it possible to increase shoutbox size? right now it shows 3.5 messages and I was wondering if I can make it bigger to show 4.5 or even 5.5?

edit figured out how to resize shoutbox
Edited by Knox`, Jul 23 2013, 10:02 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
$(function () {
var shoutText = 'Welcome [URL=' + main_url + 'profile/' + $.zb.stat.mid + '/]' + $('#top_info strong a').text() + '[/URL] to Youcandesign!';

function sMSG() {
$('#shoutbox dd:has(a[rel][href*="/profile/"]) a.member').replaceWith('<em>System Message</em>');
}

$('table.register').closest('form').submit(function () {
$.zb.set('regcom', true);
});

if (location.href.indexOf('/index') !== -1) {
if ($.zb.get('regcom')) {
$('input[name="shouttext"]').val(shoutText);
$('#shoutpost').submit();
$.zb.del('regcom');
}

sMSG();

$(document).ajaxSuccess(function () {
sMSG();
});
}
});
</script>
Offline Profile Goto Top
 
Knox`
Member Avatar
Unofficial Request Assistant :D
[ *  *  *  * ]
ty cory. you're a coding mastermind.
Offline Profile Goto Top
 
Moonface
Member Avatar


Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic