It looks like you're new here. If you want to get involved, click one of these buttons!
I'm a vanilla newby and i just finally finished getting members to not be able to delete, and now i'm hoping to learn how to have the images appear, but not the box with the thumbnail underneath it? Thank you to anyone who could help.
Answers
link_files.php
FileUpload is a bit buggy, but nonetheless is a greatwork done. Thanx to authors.
- Spam
- Abuse
0 · Insightful Awesome LOL ·One more bug curing - correct thumbs display when editing and posting
in fileupload.js
in \forum\applications\vanilla\js\discussion.js
- Spam
- Abuse
0 · Insightful Awesome LOL ·dont use /* and */ to comment out JS or php
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·?
hmm, I always use this commenting way.
P.S. You can look into the discussion.js - i've just found there the string '/* Options */'
Is it an error ? :)
- Spam
- Abuse
0 · Insightful Awesome LOL ·You are correct. /* is perfectly acceptable.
But, most coders would use ( at least all the ones I know ) //
In js you can use all three commenting systems.
// /* and <!--
But for my usage I always use //
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·/* has some utility, but can also trip you up. I usually use it only within a line to comment out a section of a line. I dont use it to comment a full line or a block of lines.
// is better for full line comments generally. As it is clearer and helps to make each line remain consistant on indent.
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong.
- Spam
- Abuse
0 · Insightful Awesome LOL ·When you debug Your code you may use
//*
a large block of code
//*/
This form gives you a quick way to comment\uncomment a block by the only starting slash.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Modifying core files means that your changes will get overwritten during version upgrades. Not a wise idea.
I can't figure out from your code what changes you are suggesting be made to link_files.php.
This plugin has been giving me so many headaches for months on end; it is literally shocking how such an important piece of functionality can be handled so cavalierly, and by a core dev, too.
But I just found a key piece of the puzzle of what's been broken -- part of Vanilla core (uploads) just doesn't work on XAMPP etc on Windows. So there's that, anyway.
- Spam
- Abuse
0 · Insightful Awesome LOL ·From that same thread:
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·Yep, that works for me on localhost.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Then you may wait until the same changes are made in public core. And It would be a very wise idea - to have bugs and wait for years.
For understanding You need to open this little file in the editor to see changes. It wouldn't be a problem for some lines of code if you of course have no bad eyesight .
- Spam
- Abuse
0 · Insightful Awesome LOL ·@johansonlocker Holy hell, man, back off. I realize that other people are snarky and unhelpful around here, but I've never said an unkind thing to you. I just wanted some clarification on the code you posted, was all.
This sort of attitude is why I stay away from here these days.
- Spam
- Abuse
0 · Insightful Awesome LOL ·@stavthewonderchicken
I think if you re read what he put, he wasnt having a go. I read it differently to you .. I think.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·I don't understand, then, I guess.
- Spam
- Abuse
0 · Insightful Awesome LOL ·Lol join the club.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
0 · Insightful Awesome LOL ·