Infobox (http://custom.simplemachines.org/mods/index.php?mod=1905) by Daydreamer (http://www.simplemachines.org/community/index.php?action=profile;u=124605)
This mod allows you to add "sticker" for your post.
Look at
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg38.imageshack.us%2Fimg38%2F2847%2Finfobox.png&hash=900b0c52854511904a3aa7458c26e1cc7aab7b3e)
Or Look at here (http://demo.mnyk.net/index.php?topic=14.0) from floated box..
You can use this styles =>
[info] = > 300px width, right float, 250px min height, #dadada border
You can use this variantacions [info width=xxx] , [info height=xxx] , [info float=xxx] , [info border=xxx]
Width : must be a number, (Box width)
float : must be left, right or none
border : must be color code like (#000000) or color name (black) (box border color)
height : must be number (Box height)
Veryyy nice mod!!
Can you make this either permission based or ADMIN only so that it does not get OVER USED on the forums.
Thanks and an excellent mod.
Wally
Quote from: blondeamon on June 24, 2009, 11:37:56 AM
Veryyy nice mod!!
Thanks for your comment :)
Quote from: Rumboogy on June 24, 2009, 01:16:00 PM
Can you make this either permission based or ADMIN only so that it does not get OVER USED on the forums.
Thanks and an excellent mod.
Wally
Maybe in the future. =) But for now i don't think this. Because i have planned many things from this mod. Ex: Pop-up Box with bbc button (like image adding) and ask what needed?
Good Mod for big forums .
Thank you will try now.
Yep, good mod, keep up! Thanks.
Nice touch. With a bit of css trickery you could style it with an image background too. You could even make the image background re-size dynamically depending on content. That could be nice. ;)
Interesting mod Daydreamer. Looks useful.
Many Thanks
Hi, very good mod! it works only with images or i can use a "ads code" (google adsense code for example) too?
thanks man.
Quote from: Antechinus on June 24, 2009, 09:06:12 PM
Nice touch. With a bit of css trickery you could style it with an image background too. You could even make the image background re-size dynamically depending on content. That could be nice. ;)
Definetly yes. Maybe i can add 4-5 image, color or nobackground variation. And thanks for your comments =)
@Groundhog Thanks.
@javierjp if you're admin, you can use [info][html]ad code[/html][/info]
Very nice mod [Daydreamer]
Could you give the code you used for your example?
I'm just trying to figure out the way in which to use it correctly.
Quote from: C4G-TK on July 01, 2009, 02:04:43 AM
Could you give the code you used for your example?
I'm just trying to figure out the way in which to use it correctly.
[info border=orange float=right width=300 height=250]
[center][img]http://img193.imageshack.us/img193/6180/i87807d74cm.jpg[/img]
Chris Brown: Voice and Guitar
Simon Ormandy: Lead Guitar
Peter Charell: Lead Bass
Monty: Drums
[/center][/info]
[info border=#000000 float=right width=250 height=100]
It was an effort that would test the group's belief in themselves and their music to the limit. Over the next year, they knocked relentlessly on any door that might gain them access to a recording deal and the chance to keep their shared vision alive.
[/info]
[info]Lorem Ipsum[/info]
[info width=100 float=left]
[info height=100 float=right]Lorem Ipsum[/info]
[info border=#cc0000]Lorem Ipsum[/info]
Awesome, looks cute and useful. Excelent :D
Thanks, great mod.
Great Mod! This has a ton of possibilities.
Thank you!!
Thank you!
I was having a little trouble setting the info correctly inside the code, so I appreciate the examples.
I'm loving this!
Cool mod, thanks, I think it would be usefull if you can edit the border width as well.
Where are the BB code Buttons for this i dont see them
Are you using custom or default theme?
Just installed this, GREAT mod. My question is on the forum it shows up in the BBC buttons section as Add Info Box. Then it gives a BBC code of info /info and auto aligns it for you. How do I get my text to display next to the box on the left side?
I actually have a bit of a tip for this mod and anyone installing it. As is when you install it the mode will give you a standard right side alignment with a box of 300x250. If you want to change that you have to manually do so by remembering how to edit the BBC. Rather then doing that, I figured I'd skip a step. If you go to your FTP after you've installed this and then go to themes > default > post.php then find this line of code:
'infobox' => array('code' => 'desc', 'before' => '[info]', 'after' => '[/info]', 'description' => $txt['infobox']),
It will already be in there. Manually change the line from that to this:
'infobox' => array('code' => 'desc', 'before' => '[info border=Black float=right width=250 height=300]', 'after' => '[/info]', 'description' => $txt['infobox']),
Then every time you use the code on your forum you'll get the full out info box code that you can customize how you like by changing the size, boarder color and alignment. I find that easier then typing it all in by hand each time you want to make an adjustment.
Thanks for the GREAT mod BTW ^_^
Great idea, Rhyme!
There's a box that I use a lot, but forget the dimensions, so I keep going back into previous posts in order to look at what I made it in order to standardize it to look uniform. Now, I won't have to do that any longer, but can still change it for other things as they come up.
Nice tip!
Yeah it sure makes things a LOT easier! XD Glad you like the tip ^_^
Any Chance this mod is going smf 2.0 RC2 ?
2 Week. I will update all of my mods in that time.
Is there anyway you can change the code to not have the conflict with the CSS Message Box Mod code as explained in that support thread? I forgot to post the conflict in this thread, too. I worked it out by editing the codes, but some people who use both may not be checking both threads or understand where the conflict is coming from.
In short, you both have a bbc named "info". You can check the other thread to figure out what I'm talking about.
http://www.simplemachines.org/community/index.php?topic=333297.msg2245221#msg2245221
Updated for SMF 2.0 RC2!
Good Update.
Yep. Thank You so much!
Quote from: Rhyme on October 07, 2009, 03:01:42 AM
I actually have a bit of a tip for this mod and anyone installing it. As is when you install it the mode will give you a standard right side alignment with a box of 300x250. If you want to change that you have to manually do so by remembering how to edit the BBC. Rather then doing that, I figured I'd skip a step. If you go to your FTP after you've installed this and then go to themes > default > post.php then find this line of code:
'infobox' => array('code' => 'desc', 'before' => '[info]', 'after' => '[/info]', 'description' => $txt['infobox']),
It will already be in there. Manually change the line from that to this:
'infobox' => array('code' => 'desc', 'before' => '[info border=Black float=right width=250 height=300]', 'after' => '[/info]', 'description' => $txt['infobox']),
Then every time you use the code on your forum you'll get the full out info box code that you can customize how you like by changing the size, boarder color and alignment. I find that easier then typing it all in by hand each time you want to make an adjustment.
Thanks for the GREAT mod BTW ^_^
Themes/default/post.php?
Quote from: PalmBeachPreps on December 02, 2009, 10:28:49 PM
Themes/default/post.php?
No.
For 2.0
./Sources/Subs-Editor.php
For 1.1.10
./Themes/default/Post.template.php
after upgrading from 1.1.11 to 2 rc2 all info boxes are in bottom of post , in new posts also
Default theme
Quote from: mforum on December 24, 2009, 12:59:04 PM
after upgrading from 1.1.11 to 2 rc2 all info boxes are in bottom of post , in new posts also
Default theme
I know it, but i don't have time because my univercity. I will look at inside so soon. My exams finished week ago. Please, give me time for this. =)
np
thanks :)
Quote from: mforum on December 24, 2009, 12:59:04 PM
after upgrading from 1.1.11 to 2 rc2 all info boxes are in bottom of post , in new posts also
Default theme
Has anyone found a fix for this? After upgrading my forum, I see the same thing and have images appearing on top of attachments in posts.
Quote from: C4G-TK on January 10, 2010, 12:31:04 PM
Quote from: mforum on December 24, 2009, 12:59:04 PM
after upgrading from 1.1.11 to 2 rc2 all info boxes are in bottom of post , in new posts also
Default theme
Has anyone found a fix for this? After upgrading my forum, I see the same thing and have images appearing on top of attachments in posts.
I upload newer version (0,3). Can you try this package ?
BINGO!
All my previous posts are now the exact same way prior to the RC2 upgrade. Everything appears to be back in tune with how it originally worked. Great job, Daydreamer!
I'm using RC2 with two themes (Curve & Prince Of Darkness) and both work with this along with 40some other mods installed at this time. No problems uninstalling last package and no problems installing this one.
THANK YOU!
version 0.3 works fine !!
nice job !! thanks !!
Glad to know it. And thanks for comment guys. If you have any problem please report it. I will look deeply inside of my other mods for now.
Hey, how do you make javascript inside infobox, Adsense javascript for example.. so members can submit their Adsense publisher ID like [info]pub-98776234[/info] for example inside their post to show their ads... ?
Is the html code don't worked? like ;
[info][html]adsense code[/html][/info]
I mean for members, so they can place ads while posting.
Aha, i see what you mean but is it safe to turn on for members ?
Quote from: anakmacan on February 25, 2010, 06:41:14 PM
Aha, i see what you mean but is it safe to turn on for members ?
Its note safe. But you can add new bbc function. like [ads] and user add this into his/here post. You must ask this in other support areas.
hmmmmmm.... add new bbc function, im gonna search it :] thank you~
In modification CSS Message Boxes (http://custom.simplemachines.org/mods/index.php?mod=2078) uses bbc tag [info] too...
What do you mean @bugo ?
Quote from: Bugo on April 13, 2010, 05:17:39 AM
In modification CSS Message Boxes (http://custom.simplemachines.org/mods/index.php?mod=2078) uses bbc tag [info] too...
Quote from: C4G-TK on November 16, 2009, 06:17:44 PM
Is there anyway you can change the code to not have the conflict with the CSS Message Box Mod code as explained in that support thread? I forgot to post the conflict in this thread, too. I worked it out by editing the codes, but some people who use both may not be checking both threads or understand where the conflict is coming from.
In short, you both have a bbc named "info". You can check the other thread to figure out what I'm talking about.
http://www.simplemachines.org/community/index.php?topic=333297.msg2245221#msg2245221
I think this is what Bugo means. Both mods use the same code which caused an error if people use both mods.
RC3 per chance?
I will update my mods and share other mods for RC3 in 1-2 days, . If isn't worked, wait for saturday.
2.0RC3 supports added. Demo url changed.
Thanks for upgrade :)
Will this great mod be getting an RC4 upgrade?
Quote from: Verso on November 12, 2010, 04:18:20 AM
Will this great mod be getting an RC4 upgrade?
Try emulating RC3 version of the mod and installing.
I had no failed tests upon doing this.