Welcome Guest [Log In] [Register]
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:
Multiquote (on) Multiquote (off)
Add Reply
how to remove suggestion box
Topic Started: Mar 26 2014, 04:37 AM (190 Views)
steve ross
Member
[ *  * ]
hi friends this forumn is very enjoyable and very help ful so any one can help me one more time
here can any one tell me how to remove suggestion box
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
steve ross
Mar 26 2014, 04:37 AM
hi friends this forumn is very enjoyable and very help ful so any one can help me one more time
here can any one tell me how to remove suggestion box
What suggestion box?
Offline Profile Quote Post Goto Top
 
steve ross
Member
[ *  * ]
Posted Image
Offline Profile Quote Post Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

A link to your board would help. It's most likely a code somewhere, but to pinpoint it we would need to see your board.
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
steve ross
Mar 26 2014, 04:44 AM
Posted Image
I'm pretty sure that isn't Zeta default. Like DPM said, it's most likely a code you added.
Offline Profile Quote Post Goto Top
 
-The-
Member Avatar
#the { display: none; }
[ *  *  *  *  * ]
I would imagine it's this: http://if.invisionfree.com/topic/5155396/2/#new suggestion box...

So what you need to do is this: Remove this code, found somewhere in your board wrappers
Code:
 
<form id="suggestions">
<table>
<thead>
<tr>
<th>Suggestion Box</th>
</tr>
</thead>
<tbody>
<tr>
<td class="c"><textarea tabindex="1" cols="80" rows="10"></textarea></td>
</tr>
<tr>
<td class="c"><button type="submit">Submit</button></td>
</tr>
</tbody>
</table>
</form>


Then find
Code:
 
<script type="text/javascript">
//<![CDATA[
(function ($) {
var sugForumID = 'FORUM_ID';
var username = $('#top_info strong a').text();

if ($.zb.logged_in === false) {
$('#suggestions').remove();
}

$('#suggestions').submit(function (e) {
e.returnValue = e.preventDefault && e.preventDefault() ? false : false;
var post = $(this).find('textarea').val();

$.get(main_url + 'post/?type=1&mode=1&f=' + sugForumID, function (data) {
var ast = $('input[name="ast"]', data).val();
var xc = $('input[name="xc"]', data).val();

$.post(main_url + 'post/?type=1&mode=1&f=' + sugForumID, {
mode: 1,
type: 1,
ast: ast,
f: sugForumID,
xc: xc,
sd: 1,
title: 'New suggestion from: ' + username,
post: post
});
});
alert('Suggestion successfully submitted!');
});
})(jQuery);
//]]>
</script>
in your below the board section and delete it...

That should then be removed, although if your code isn't this one, then I will require a link to your board...
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply