Wondering why you can't post?
To post, head over to our current forums.
   
1 of 2
1
HTML formatting in Discussion Forum: Questions
Posted: 06 July 2008 10:23 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

Is there a guide to understanding the ‘Text and HTML Formatting’ section of the Discussion Forum Module?

My Discussion Forum does not display URL hyperlinks - link. domain comes out <a >domain</a> on both the display and the entry field, as you can see. It does <b> just fine, and the hyperlinks work in Preview. I’ve tried every possible combination in the Text and HTML Formatting preferences.

I hope it doesn’t have anything to do with this Extension, which I’ve since deleted, but can’t seem to turn off.

Profile
 
 
Posted: 07 July 2008 10:27 PM   [ Ignore ]   [ # 1 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

Anyone? I just seems strange to have a Forum thread correspond to an Entry, yet the Forum can’t display what the Entry does, and this is just basic html too.

Profile
 
 
Posted: 08 July 2008 03:19 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27728
Joined  05-15-2004

In the forum you could always use

[url=http://example.com]My example[/url] 
 Signature 

ExpressionEngine 2.1 Shop | User Guide | Bugtracker
MojoMotor Available now! - The Publishing Engine That Does Less.

Profile
MSG
 
 
Posted: 08 July 2008 09:31 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

Thanks Ingmar,

So I just need a confirmation that I can’t use

<a href="http://example.com">My example</a

in this forum, or any forum. If so, would you explain the reason why?  My other forums allow html hyperlinks.

The reason being that I’ll now have to manually change the four or five hyperlink references each time I publish a corresponding entry everyday - and not looking forward to it.

Profile
 
 
Posted: 08 July 2008 01:51 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  22789
Joined  05-14-2004

You can turn on Allow All HTML and that should allow your links to work, Tux.

Alternatively, the pMCode version works in both the forums and weblog, so you could just use that everywhere.

 Signature 
Profile
MSG
 
 
Posted: 08 July 2008 02:17 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

Thanks Lisa,

I do have Allow all HTML selected in > Forum Board Preferences > Default Preferences > Text and HTML Formatting.

I could use the pMCode in my entries, but it would take longer to hard code that than it would be to reformat the code in the forum, and I would think in this day and age I wouldn’t have to do either smile

Profile
 
 
Posted: 08 July 2008 02:29 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  22789
Joined  05-14-2004

You need it set for the specific forum, not the defaults. =)

 Signature 
Profile
MSG
 
 
Posted: 08 July 2008 02:31 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27728
Joined  05-15-2004

If you allow regular HTML in the default forum templates, plain old <href=”“> links should work, at least for newly created forums.

ETA: What Lisa said smile

 Signature 

ExpressionEngine 2.1 Shop | User Guide | Bugtracker
MojoMotor Available now! - The Publishing Engine That Does Less.

Profile
MSG
 
 
Posted: 08 July 2008 02:55 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

Thanks Lisa, I think that’s it, though I can’t tell for sure yet since as Ingmar hints, this doesn’t work in existing forum posts. This is where documentation on Text and Formatting HTML would help smile

Profile
 
 
Posted: 08 July 2008 02:59 PM   [ Ignore ]   [ # 9 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27728
Joined  05-15-2004

Tux, I just tried it myself, and the link is a bit hidden. Here’s what you do, open the Forum module > Forum Management > Edit > Show Preferences. This is in the last line of the table and easy to miss… then simply change HTML Formatting in Posts to “Allow all HTML”.

It works, I tried it smile

 Signature 

ExpressionEngine 2.1 Shop | User Guide | Bugtracker
MojoMotor Available now! - The Publishing Engine That Does Less.

Profile
MSG
 
 
Posted: 08 July 2008 03:15 PM   [ Ignore ]   [ # 10 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

Thanks Ingmar, I found it per Lisa’s comments, but as you stated, it apparently works for only new posts, as it doesn’t allow hyperlinks in existing posts - unless you found otherwise.

Profile
 
 
Posted: 08 July 2008 03:39 PM   [ Ignore ]   [ # 11 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

I just created this thread and I preferenced every single one of my individual forums with ‘Allow all HTML’.  While the links look active, they still don’t work.

I mean, I’m not trying to do any unique customization work here, just allowing html hyperlinks in my discussion forum.

What scares me is this is a pilot to test whether or not we use Expression Engine for portal sites for downtowns across the U.S., and I’m a little concerned here with the basics.

Profile
 
 
Posted: 08 July 2008 03:44 PM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27728
Joined  05-15-2004

Your links are <a >foobar</a>, which is odd. Looks like the href=”” part gets removed somewhere? Any plugins? Other custom code?

 Signature 

ExpressionEngine 2.1 Shop | User Guide | Bugtracker
MojoMotor Available now! - The Publishing Engine That Does Less.

Profile
MSG
 
 
Posted: 08 July 2008 04:28 PM   [ Ignore ]   [ # 13 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

You’re telling me smile

The only added plug-in is pi.edit_comments.php.  The only extension is ext.forum_fill.php. I removed index.php from the URL. Not much else I can think of, or capable of.

Profile
 
 
Posted: 08 July 2008 04:40 PM   [ Ignore ]   [ # 14 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  27728
Joined  05-15-2004

What is ext.forum_fill.php? I am not familiar with that extension.

 Signature 

ExpressionEngine 2.1 Shop | User Guide | Bugtracker
MojoMotor Available now! - The Publishing Engine That Does Less.

Profile
MSG
 
 
Posted: 08 July 2008 07:03 PM   [ Ignore ]   [ # 15 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  22789
Joined  05-14-2004

Tux, what version and build of EE and the forum are you on, please?

 Signature 
Profile
MSG
 
 
Posted: 08 July 2008 09:45 PM   [ Ignore ]   [ # 16 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

EE 1.6.4 and forum 2.1 - I just installed everything last week.

Profile
 
 
Posted: 09 July 2008 12:25 AM   [ Ignore ]   [ # 17 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  22789
Joined  05-14-2004

There may be something deeper going on here and we are investigating.  I’ll keep you updated here, and am going to move this down to Technical Support for now, but may move it again later if needed.

 Signature 
Profile
MSG
 
 
Posted: 15 July 2008 03:19 PM   [ Ignore ]   [ # 18 ]  
Grad Student
Rank
Total Posts:  92
Joined  06-24-2008

HTML, especially the hyperlinks, are now working fine for the first time - great!

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 149013 Total Logged-in Users: 68
Total Topics: 103295 Total Anonymous Users: 29
Total Replies: 516927 Total Guests: 257
Total Posts: 620222    
Members ( View Memberlist )