MyBB Community Forums

Full Version: Quick Reply Won't Refresh
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi guys. I'm having a problem on my forum where when anyone uses the quick reply function, the forum doesn't refresh.

I am using the Kodi theme, which seems like that is the problem. I don't want to change themes though.

The author posted a "fix", which I posted here: http://dailydatabases.com/thread-86.html

I get an error when editing the files that says there is a security risk with it.

What can I do to fix this? Members are complaining Toungue

Thanks in advance!
(2011-12-20, 04:36 AM)Spazmatic Wrote: [ -> ]Hi guys. I'm having a problem on my forum where when anyone uses the quick reply function, the forum doesn't refresh.

I am using the Kodi theme, which seems like that is the problem. I don't want to change themes though.

The author posted a "fix", which I posted here: http://dailydatabases.com/thread-86.html

I get an error when editing the files that says there is a security risk with it.

What can I do to fix this? Members are complaining Toungue

Thanks in advance!

The fix looks good
I thought to too, but mybb gives me an error and won't let me save the fix.
instead of the header template, add the code in headerinclude template (ungrouped templates)

<script>

     var loggedin = true;

</script>

<div id="preload" style="display: none;">

        <img src="images/kodi/pm_hov.png" />

<img src="images/kodi/usercp_hov.png" />

<img src="images/kodi/calendar_hov.png" />

<img src="images/kodi/search_hov.png" />

<img src="images/kodi/posts_hov.png" />

</div>
Thanks! I'll try this right now Smile
Still didn't work Sad
^ hmm., can I have temporary admin panel access & check it ..
(2011-12-21, 04:36 PM)ranjani Wrote: [ -> ]instead of the header template, add the code in headerinclude template (ungrouped templates)

<script>

     var loggedin = true;

</script>

<div id="preload" style="display: none;">

        <img src="images/kodi/pm_hov.png" />

<img src="images/kodi/usercp_hov.png" />

<img src="images/kodi/calendar_hov.png" />

<img src="images/kodi/search_hov.png" />

<img src="images/kodi/posts_hov.png" />

</div>

That doesn't make any sense. How/why would that fix it? You can't even use images or divs in the head section, which is where the code would go if you put it in the headerinclude template...

The code the author provided is pretty messed up (e.g. unclosed variables, anchor tags as title attributes, bits of code out of place) and MyBB thinks you were trying to access variables with sensible information. I tried to arrange it myself but it's a real mess. Ask the author to take a look at it again.
^ well, yes, my suggestion might not make any sense ! but its not for showing the images !

such template modifications worked on earlier versions of myBB do not work now on myBB 1.6.5 ..
Such a template modification would not work on ANY version of MyBB. The code was a mess, it wouldn't output anything.
I am going to side with Fabio. I may be a semi-newbie still with PHP, but that code is just messed up.

I will see if I can fix it up for you. It looks like it can be.

EDIT: Never mind. It is a gigantic disaster. I dunno what kind of PHP developer would come up with that code.
:bigeyes:
Pages: 1 2