Hey there, guest. Why not take a few moments to register a free account? If you already have one, you can login here.
New Reply
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Report button is not visible/missing in postbit
07-30-2012, 03:24 AM (This post was last modified: 07-30-2012 03:24 AM by brij99rai.)
Post: #1
Report button is not visible/missing in postbit
Report button is shown by default on all myBB themes, but unfortunately when I activated GoMobile theme, the Report button was missing.

Is there any chance or edit to templates, by which I can add Report button in my postbit.

Also, does GoMobile theme support Thank You/Like Buttons.
Reply
07-30-2012, 10:37 AM
Post: #2
RE: Report button is not visible/missing in postbit
Change postbit_report to:

Code:
<a href="javascript:Thread.reportPost({$post['pid']});" class="button">Report</a>

And add {$post['button_report']} somewhere in postbit and postbit_classic, beside the edit button variable or wherever you'd like. I don't know if the popup will work or not, though.

GoMobile Beta 4 Released
Reply
07-30-2012, 06:01 PM
Post: #3
RE: Report button is not visible/missing in postbit
Instead of the popup, can't we get it to work like the warn button.

Btw, will Thanks/Like button also work similarly, because it also uses javascript code.
Reply
07-31-2012, 09:59 AM
Post: #4
RE: Report button is not visible/missing in postbit
What do you mean "like the warning button"? I don't think there's much else to do with it really (aside from opening in the same window, if that's what you're getting at).

Other buttons will follow the same basic structure, yes. I don't know the specifics of each individual plugin, though.

GoMobile Beta 4 Released
Reply
07-31-2012, 11:49 PM
Post: #5
RE: Report button is not visible/missing in postbit
(07-31-2012 09:59 AM)Chris R. Wrote:  What do you mean "like the warning button"? I don't think there's much else to do with it really (aside from opening in the same window, if that's what you're getting at).

Other buttons will follow the same basic structure, yes. I don't know the specifics of each individual plugin, though.

yes, i want it to open in the same window, as popups might be problem in some mobile devices
Reply
08-03-2012, 10:12 AM
Post: #6
RE: Report button is not visible/missing in postbit
Code:
<a href="report.php?pid={$post['pid']}" class="button">Report</a>

?

GoMobile Beta 4 Released
Reply
08-04-2012, 09:13 PM
Post: #7
RE: Report button is not visible/missing in postbit
(08-03-2012 10:12 AM)Chris R. Wrote:  
Code:
<a href="report.php?pid={$post['pid']}" class="button">Report</a>

?

Let me try...
Reply
« Next Oldest | Next Newest »
New Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)