Shoutbox

MyBB Attach Code - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: MyBB Attach Code (/showthread.php?tid=25241)

MyBB Attach Code by Concord Dawn on 05-14-2004 at 12:16 AM

Is there a way to attach an image using just code? Such as:

[attach=C:\Documents and Settings\USERNAME\Desktop\Screenshot.png]

If there isn't can it be created?


RE: MyBB Attach Code by dotNorma on 05-14-2004 at 12:19 AM

There isn't right now (That I know of)

Why would you want to anyway? You would have to type the directory :-/ Using the browse dialog is easier.


RE: MyBB Attach Code by Concord Dawn on 05-14-2004 at 12:23 AM

Because I use the quick reply box always, unless I need to attach a file. This way I wouldn't need to go to the reply form for anything.


RE: MyBB Attach Code by .blade// on 05-14-2004 at 01:24 AM

There should be an extra button that says "Post with attatchment" which triggers a dialouge box ;)


RE: MyBB Attach Code by Concord Dawn on 05-14-2004 at 01:25 AM

That would probably be better.


RE: MyBB Attach Code by WDZ on 05-14-2004 at 02:39 AM

quote:
Originally posted by chaos_grenade
If there isn't can it be created?
No, it's not possible. You need an actual form field (<input type="file">) to get a file from a user's hard drive, and the user must choose the file with that. Any other method could be a major security risk.
RE: MyBB Attach Code by Concord Dawn on 05-14-2004 at 03:16 AM

Then could you possibly create a form at the bottom of the quick reply box for us geeks? :rolleyes:

Btw I like ur sig.


RE: MyBB Attach Code by WDZ on 05-14-2004 at 03:22 AM

But then nobody would use the regular reply anymore, and the quick reply would be less quick/simple. :-/

I dunno... maybe you should make a poll. :p


RE: MyBB Attach Code by Concord Dawn on 05-14-2004 at 03:23 AM

I think I will....


RE: MyBB Attach Code by musicalmidget on 05-14-2004 at 02:51 PM

An "Attachments" field has been requested for the quick reply box a few times now, but WDZ is right, the ordinary reply page would be completely redundant if it was added.

I can't decide whether that's a good thing or a bad thing though.  I suppose it would save a little bandwidth if nobody needed to use the ordinary reply page anymore, but I also suppose that the saving would be minimal and hardly noticed, making such a change a little...pointless. :-/

Personally, I don't see any reason to change things. :p


RE: MyBB Attach Code by Concord Dawn on 05-14-2004 at 03:10 PM

I do....

NERDS LIKE ME!!!!!!:P


RE: MyBB Attach Code by martin on 05-14-2004 at 03:25 PM

for me, no matter where im at home (dailup) or school (no idea but lots faster) the newreply page and editpost all ways load really slow.  but me still agree with DZ


RE: MyBB Attach Code by Choli on 05-14-2004 at 04:31 PM

quote:
Originally posted by WDZ
But then nobody would use the regular reply anymore, and the quick reply would be less quick/simple.
the regular reply would still be useful for polls :-/ Anyway, I thin k it's better leave them as they're now. (just make something to the regular reply in order it loads faster)
RE: MyBB Attach Code by kao on 05-14-2004 at 05:09 PM

Add an option in the User CP to turn on attachment field in quick reply area, make it off by defualt, so if people really want it, they can turn it on? (A)


RE: MyBB Attach Code by WDZ on 05-14-2004 at 05:51 PM

quote:
Originally posted by Kao
Add an option in the User CP to turn on attachment field in quick reply area, make it off by defualt, so if people really want it, they can turn it on? (A)
IMO, a better option would be for hiding the bbcode/smilie inserters on the full reply page. They're what makes it load so slow.

I hate adding new per-user options though... there's so many fields in that poor table already... :-/ :P
RE: MyBB Attach Code by Johnny_Mac on 05-14-2004 at 09:09 PM

quote:
Originally posted by Chaotic_Shield
I do....
If it makes showthread.php slower then no. I get annoyed at postreply.php enough. If stuff like that will slow this page down then I vote no. :P
RE: MyBB Attach Code by Choli on 05-14-2004 at 10:18 PM

quote:
Originally posted by WDZ
IMO, a better option would be for hiding the bbcode/smilie inserters on the full reply page. They're what makes it load so slow.
* Choli agrees

you can even delete (not only hide) those inserters. anyway, who uses that crap? :refuck:
RE: MyBB Attach Code by surfichris on 05-14-2004 at 10:24 PM

quote:
Originally posted by WDZ
IMO, a better option would be for hiding the bbcode/smilie inserters on the full reply page. They're what makes it load so slow.
Move the <script> tags below the textarea, it should speed it up.
RE: MyBB Attach Code by WDZ on 05-15-2004 at 04:18 AM

quote:
Originally posted by Johnny_Mac
quote:
Originally posted by Chaotic_Shield
I do....
If it makes showthread.php slower then no. I get annoyed at postreply.php enough. If stuff like that will slow this page down then I vote no. :P
One form field isn't going to slow the page down a noticable amount... I'm more concerned with the visual/practical aspects.

quote:
Originally posted by Chris Boulton
Move the <script> tags below the textarea, it should speed it up.
But the textarea isn't part of the codebuttons, and the <script> include is in the codebuttons template... :dodgy: