inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Sept 16, 2020 4:02:30 GMT -8
Hi I need help!!! I notice important things that are needed for a forum to work properly are not working
For Instance: When I want to go to a previous page from a post it does not take me there it takes me to a reply area only.
redirect.viglink.com/?key=50a3e43fc144e102d0bcd256928a479c&subId=1&u=https%3A//pitszal.freeforums.net/
|
|
#eb7100
1480
0
1
Apr 25, 2024 2:46:20 GMT -8
Craig
208,868
September 2001
cmdynasty
|
Post by Craig on Sept 16, 2020 4:40:42 GMT -8
Hi pitszal Has this coincided with any changes you have made at all to the forum?
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Sept 16, 2020 4:52:06 GMT -8
Hi Craig I damaged my board by trying to make a new theme and everything messed up. It pretty much is ok now but a few important functional items are not working such as when I am on a post and I want to go to the previous post by clicking the previous # it goes to quick reply pitszal.freeforums.net
|
|
#eb7100
1480
0
1
Apr 25, 2024 2:46:20 GMT -8
Craig
208,868
September 2001
cmdynasty
|
Post by Craig on Sept 16, 2020 5:02:07 GMT -8
Could you copy what you have in your Thread template and post it here between [code][/code] tags.
admin > themes > layout templates > thread
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Sept 16, 2020 5:28:06 GMT -8
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Sept 16, 2020 5:50:31 GMT -8
<div class="container posts"> <div class="title-bar"> {if $[reply_button]} <ul class="controls"><li>$[reply_button]</li></ul> {/if} <h1>$[thread.subject]</h1> </div> <div class="control-bar ui-helper-clearfix $[scroll_class]"> $[search] <div class="controls"> $[action_menu] </div> <div class="float-left">$[thread.icons]</div> $[pagination] </div> <div class="content cap-bottom"> $[thread.labels] $[poll] <table class="list" role="presentation"> <tbody class="$[list_class]"> $[post_list] </tbody> </table> {if !$[quick_reply]}{if $[bottom_reply_button]} <div class="reply_button pad-all-double">$[bottom_reply_button]<br class="clear" /></div> {/if}{/if} </div> </div> $[quick_reply]
<table class="list" role="grid"> <thead> <tr> <th class="icon"></th> <th class="main">Board</th> <th class="threads">Threads</th> <th class="posts">Posts</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody>
|
|
#eb7100
1480
0
1
Apr 25, 2024 2:46:20 GMT -8
Craig
208,868
September 2001
cmdynasty
|
Post by Craig on Sept 16, 2020 6:21:24 GMT -8
That bit at the bottom:
<table class="list" role="grid"> <thead> <tr> <th class="icon"></th> <th class="main">Board</th> <th class="threads">Threads</th> <th class="posts">Posts</th> <th class="latest last">Last Post</th> </tr> </thead> </tbody>
That wouldn't normally be there. It looks like part of the board list template. Did you intentionally add that there, or is that something you can remove?
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Sept 16, 2020 6:32:51 GMT -8
Probably can be removed I don't think I put it there pitszal.freeforums.net/. I also get a quick reply when I want to delete a post. The post does not get deleted
|
|
#eb7100
1480
0
1
Apr 25, 2024 2:46:20 GMT -8
Craig
208,868
September 2001
cmdynasty
|
Post by Craig on Sept 16, 2020 7:20:06 GMT -8
Probably can be removed I don't think I put it there pitszal.freeforums.net/. I also get a quick reply when I want to delete a post. The post does not get deleted Could you go ahead and remove it. So $[quick_reply] should be the last thing there. It is also in the Post List template, if you want to remove it from there also, it should fix the problem. Do you have anything in your global footer? admin > structure > headers / footers > global
|
|
#eb7100
1480
0
1
Apr 25, 2024 2:46:20 GMT -8
Craig
208,868
September 2001
cmdynasty
|
Post by Craig on Sept 16, 2020 7:54:34 GMT -8
Edited my previous post. You have that block of code in both the Thread and Post List template. If you remove it from both it should fix that issue.
In terms of the global footer. You have a couple of codes duplicated there, and a broken code. Replace what is there with this:
<script type="text/javascript">
$(document).ready(function() { $('#move-shoutbox').append($('div.shoutbox.container.full')); }); </script> <script type="text/javascript"> /* Replace elapsed time with specific time */ $(function(){ for(var a=0, timeID=null; a < $.livequery.queries.length; a++){ if($.livequery.queries[a].selector == "abbr.time" && "function" == typeof $.livequery.queries[a].fn && $.livequery.queries[a].fn.toString().indexOf("non_mod_date") != -1) { timeID = $.livequery.queries[a].id; $.livequery.stop(timeID); break; } } $('abbr.time').not('.shoutbox-post abbr.time').each(function () { var time = $(this).addClass('modified_time').removeClass('time'), raw_date = new Date(parseInt(time.data("timestamp"),10)); //this.className += " time" if($(this).hasClass('recent_time') && !/yesterday/i.test($(this).text())){ time = time.removeClass('recent_time'); var today = raw_date.getDate() == (new Date()).getDate()?"today":"yesterday", user_date = ['M d, yy', 'd M, yy'][proboards.data("time_style") || 0]; time.replaceWith( $(this).clone(true).addClass('recent_time') .html( '<span class="'+today+'">'+today+' </span>' + '<span class="at">at</span> <span class="at-time">' + (proboards.data('military_time') ? $.formatTime('HH:mm', raw_date) : $.formatTime('h:mmp', raw_date)) +'</span>' ) ); }else if(/yesterday/i.test($(this).text())){ time.replaceWith( $(this).clone(true) .html( '<span class="yesterday">yesterday </span><span class="at">at </span><span class="at-time">' + $(this).text().split("at ")[1] +'</span>' ) ) }else{ if(time.text().indexOf(" at ")== -1) time.text($.datepicker.formatDate((proboards.data('time_style') ? 'd M yy' : 'M d, yy'), raw_date) + ' at ' + $.formatTime((proboards.data('military_time') ? 'HH:mm' : 'h:mmp'), raw_date)) time.replaceWith(function(){ for(var dt = time.text().split(" at")[0], a = dt.split(/,?\s+/), b=0, c = $('<span></span>'); b<a.length; b++){ if((d = a[b].match(/^(\d+)$/))){ if(d[1].length == 4) c.append('<span class="year">'+a[b]+' </span>').addClass("year_"+a[b]); else c.append('<span class="day">'+a[b]+' </span>').addClass("day_"+a[b]) }else{ c.append('<span class="month">'+a[b]+' </span>').addClass("month_"+a[b]) } } c.append('<span class="at">at </span>').append('<span class="at-time">' + time.text().split(" at ")[1] + '</span>') return time.clone(true).html('').append(c) }) }
}) $('abbr.modified_time').addClass('time'); var ac = arguments.callee if(!ac.func){ ac.func = function(){$.livequery.run(timeID); ac();} } if($.inArray(ac.func, proboards.events.afterSearch) == -1){ proboards.on("afterSearch", ac.func); } }) </script> <script type="text/javascript"> /* Replace elapsed time with specific time */ $(function(){ for(var a=0, timeID=null; a < $.livequery.queries.length; a++){ if($.livequery.queries[a].selector == "abbr.time" && "function" == typeof $.livequery.queries[a].fn && $.livequery.queries[a].fn.toString().indexOf("a few seconds ago") != -1) { timeID = $.livequery.queries[a].id; $.livequery.stop(timeID); break; } } $('abbr.time').not('.shoutbox-post abbr.time').each(function () { var time = $(this).addClass('modified_time').removeClass('time'), raw_date = new Date(parseInt(time.data("timestamp"),10)); //this.className += " time" if($(this).hasClass('recent_time') && !/yesterday/i.test($(this).text())){ time = time.removeClass('recent_time'); var today = raw_date.getDate() == (new Date()).getDate()?"today":"yesterday", user_date = ['M d, yy', 'd M, yy'][proboards.data("time_style") || 0]; time.replaceWith( $(this).clone(true).addClass('recent_time') .html( '<span class="'+today+'">'+today+' </span>' + '<span class="at">at</span> <span class="at-time">' + (proboards.data('military_time') ? $.formatTime('HH:mm', raw_date) : $.formatTime('h:mmp', raw_date)) +'</span>' ) ); }else if(/yesterday/i.test($(this).text())){ time.replaceWith( $(this).clone(true) .html( '<span class="yesterday">yesterday </span><span class="at">at </span><span class="at-time">' + $(this).text().split("at ")[1] +'</span>' ) ) }else{ if(time.text().indexOf(" at ")== -1) time.text($.datepicker.formatDate((proboards.data('time_style') ? 'd M yy' : 'M d, yy'), raw_date) + ' at ' + $.formatTime((proboards.data('military_time') ? 'HH:mm' : 'h:mmp'), raw_date)) time.replaceWith(function(){ for(var dt = time.text().split(" at")[0], a = dt.split(/,?\s+/), b=0, c = $('<span></span>'); b<a.length; b++){ if((d = a[b].match(/^(\d+)$/))){ if(d[1].length == 4) c.append('<span class="year">'+a[b]+' </span>').addClass("year_"+a[b]); else c.append('<span class="day">'+a[b]+' </span>').addClass("day_"+a[b]) }else{ c.append('<span class="month">'+a[b]+' </span>').addClass("month_"+a[b]) } } c.append('<span class="at">at </span>').append('<span class="at-time">' + time.text().split(" at ")[1] + '</span>') return time.clone(true).html('').append(c) }) }
}) $('abbr.modified_time').addClass('time'); var ac = arguments.callee if(!ac.func){ ac.func = function(){$.livequery.run(timeID); ac();} } if($.inArray(ac.func, proboards.events.afterSearch) == -1){ proboards.on("afterSearch", ac.func); } })
</script>
|
|
#e61919
Support Staff
224482
0
1
Apr 24, 2024 16:47:46 GMT -8
Scott
23,285
August 2015
socalso
|
Post by Scott on Sept 16, 2020 7:59:06 GMT -8
pitszal, I made a change to your post list template. That should have fixed your issue. Can you confirm all is good?
|
|
inherit
51420
0
May 4, 2022 3:22:33 GMT -8
pitszal
2,321
July 2005
pitszal
|
Post by pitszal on Sept 16, 2020 8:05:05 GMT -8
Yes Craig Perfect. Thank you so much very much appreciated Can you please eliminate the section in green? It is a welcome Category that got shifted somehow to the left. Can you please move it to the top of the other Categories in yellow Can you please eliminate the links in green? and leave the other 2 yellow links
|
|
#e61919
Support Staff
224482
0
1
Apr 24, 2024 16:47:46 GMT -8
Scott
23,285
August 2015
socalso
|
Post by Scott on Sept 16, 2020 8:36:06 GMT -8
|
|
#eb7100
1480
0
1
Apr 25, 2024 2:46:20 GMT -8
Craig
208,868
September 2001
cmdynasty
|
Post by Craig on Sept 16, 2020 8:42:34 GMT -8
Sorry Pitszal. For the last bit, are you referring to the Board and Last Post text? If so, that's because you have a category with no boards in at the bottom of your categories list [ oldies but goodies ]. You can delete that empty category in your admin area, and it should get rid of that text. admin > structure > categories and boardsYou should see a category at the bottom, which if you click on to highlight, you can then delete by clicking the delete button at the top of the page. If you are not comfortable with doing that, i am sure Scott will be happy to delete it for you, should you wish
|
|