MyBB Hacks

Full Version: Download System
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
(01-29-2011 02:27 AM)RocketFoot Wrote: [ -> ]Hmmm...I am stumped!  The text url still does not work.  I even uploaded a new pdf to rule out a problem with the original.

http://www.7173mustangs.com/thread-test-...http://www.7173mustangs.com/thread-test-report-upload?pid=99

ETA:  Just tested in IE and it works!  What would cause FireFox to null the download?
It is working on FireFox. Install Foxit Reader and you will see.
OK, I got it working now!  I had reader installed but it must have been an old version.  I updated and BOOM!  Works now!

Any suggestions on adding a side column with links to the 3 separate categories?  I'm not quite sure what to do beyond creating the side bar!  LOL
(01-29-2011 03:33 AM)RocketFoot Wrote: [ -> ]Any suggestions on adding a side column with links to the 3 separate categories?

If you mean the side column in your download section, you need to put this kinds of URL (based on the original example):

HTML Code
<a href="{$forumurl_q}filtertf_fcat=Plugin">Plugin</a>
<a href="{$forumurl_q}filtertf_fcat=Modification">Modification</a>
<a href="{$forumurl_q}filtertf_fcat=Theme">Theme</a>

(01-29-2011 07:43 AM)RateU Wrote: [ -> ]
(01-29-2011 03:33 AM)RocketFoot Wrote: [ -> ]Any suggestions on adding a side column with links to the 3 separate categories?

If you mean the side column in your download section, you need to put this kinds of URL (based on the original example):

HTML Code
<a href="{$forumurl_q}filtertf_fcat=Plugin">Plugin</a>
<a href="{$forumurl_q}filtertf_fcat=Modification">Modification</a>
<a href="{$forumurl_q}filtertf_fcat=Theme">Theme</a>

Yes.  I wonder what they will lead to though?  Will I need to create a new threadlist template?  Might have to do  little experimenting...Smile
It will acts like category in other XThreads example application (for example, your article gallery).
I think i found a bug with the new XThreads upgrade...after upgrade, my download system quit working...

http://www.7173mustangs.com/thread-marti...http://www.7173mustangs.com/thread-marti-report?B1=Click+Here+to+

Guests can't download, but the error I get when trying to download is:
Quote:No parameters specified.
  (White screen, no template)

What could be wrong?
Yes, images work, but the download button does not...here is the code from display format:

Code:
<form action="{URL}" target="_blank" method="get">

<p>

<input type="submit" name="B1" " id="B1"value="Click Here to View My Marti Report" />

</p>

</form>


It was working previously.

Your HTML is a bit messed up, should be:

HTML Code
<input type="submit" name="B1" id="B1" value="Click Here to View My Marti Report" />


But anyway, I think I've found the issue.
You can fix it by changing the form's method from "get" to "post".  But there's also a bug in XThreads which caused this to break - I'll release a fix for it.
I've updated the first post, as a "post" method is probably more appropriate than "get".

Thanks for pointing that out.

(02-06-2011 02:31 PM)ZiNgA BuRgA Wrote: [ -> ]Your HTML is a bit messed up, should be:

HTML Code
<input type="submit" name="B1" id="B1" value="Click Here to View My Marti Report" />


But anyway, I think I've found the issue.
You can fix it by changing the form's method from "get" to "post".  But there's also a bug in XThreads which caused this to break - I'll release a fix for it.
I've updated the first post, as a "post" method is probably more appropriate than "get".

Thanks for pointing that out.


Thanks Zinga!  Changing get to post seems to have done the trick for now!
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Reference URL's