Author |
Topic |
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 11 March 2012 : 06:05:20
|
Is there a way to insert an image in the forum description when creating a forum?
Example: You have the following . . .
Category - Books and reading Forum - Book Nook And just below that you place the description of the forum. Is there a way you could insert an image in the description?
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 11 March 2012 : 06:26:58
|
Yes.
You'd simply insert the [img] tags around the photo url where you want the photo to appear. I'd recommend putting the photo either at the very end (with a carriage return/line feed preceding it) or at the very beginning (with a carriage return/line feed following it).
Something like this: [img]blahblahblah.url[ /img][ br]description
or
description[ br][img]blahblahblah.url[ /img]
Eliminate the spaces in the closing tags. |
|
|
bobby131313
Senior Member
USA
1163 Posts |
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 12 March 2012 : 04:33:43
|
OH MY GOODNESS!! Oh my goodness how neat!! :)
You guys are wonderful!!
Okay; another question. I know how to make the image a link, but how do I make it open in the same window. I can do this using HTML but don't have a clue with the bbcodes.
But even if I can't make it open in the same window, I will still be happy with this!!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 12 March 2012 : 10:13:59
|
The forum code (as it currently stands) opens all links in a new window - the easiest way to change that would change it for all links, not just the ones you use in the forum description. If you're ok with that, you may want to look at this topic from a while back. |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 13 March 2012 : 06:21:40
|
quote: Originally posted by AnonJr
The forum code (as it currently stands) opens all links in a new window - the easiest way to change that would change it for all links, not just the ones you use in the forum description. If you're ok with that, you may want to look at this topic from a while back.
First of all, thank you so much!
Using the link you shared, I found Shaggy's reply to a post here: Controlling how Web Links open In the 4th post down, Shaggy suggested to use the code (I'll paste just below.) in default.asp to make links on the default page open in the same open. Here's what he suggested:
Here's what you need, so, where domain.tld is your domain:
if ForumFType = 0 then Response.Write "forum.asp?FORUM_ID=" & ForumID else Response.Write ForumURL if instr(ForumURL,"http://www.domain.tld/")=0 then response.write """ target=""_blank" end if
I tried that but it would not work for me (and caused some strange behavior, too).
And then using the link you shared again, I used Shaggy's file I found here: ReplaceURLs Function in my inc_function_common.asp file. It was supposed to make all of the links open in a new window regardless of what page you were on. It works perfect on default.asp but not anywhere else. And I know that's exactly what I wanted originally, but now I really wish this would have worked. Does anyone have any idea what might help this to work? If not, I'll just be happy with this! :)
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
Edited by - MaGraham on 13 March 2012 06:24:17 |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 02 May 2012 : 04:23:15
|
quote: Originally posted by Carefree
Yes.
You'd simply insert the [img] tags around the photo url where you want the photo to appear. I'd recommend putting the photo either at the very end (with a carriage return/line feed preceding it) or at the very beginning (with a carriage return/line feed following it).
Something like this: [img]blahblahblah.url[ /img][ br]description
or
description[ br][img]blahblahblah.url[ /img]
Eliminate the spaces in the closing tags.
This has got to be one of my most favorite finds!
I get to be creative with the images I use and members love the new look! :)
Just had to come back and thank you guys!
God bless!!
SOLVED!!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
Edited by - MaGraham on 02 May 2012 04:24:32 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 02 May 2012 : 08:08:54
|
Sorry, missed a part of this thread. To make a URL open in the same window, use this pattern (remove the spaces before closing brackets):
[url="../higherpage.htm" target="_self" ]Higher Level Link[/url ]
|
Edited by - Carefree on 02 May 2012 08:09:49 |
|
|
MaGraham
Senior Member
USA
1297 Posts |
Posted - 27 May 2012 : 22:37:28
|
Oh how easy, Carefree!
THANK YOU!!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 28 May 2012 : 03:07:38
|
quote: Originally posted by Carefree
Sorry, missed a part of this thread. To make a URL open in the same window, use this pattern (remove the spaces before closing brackets):
[url="../higherpage.htm" target="_self"]Higher Level Link[/url]
carefree, you can use [noparse] tags here so you don't need to use spaces etc when showing tags |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
|
|
|
Topic |
|