Jump to content

Welcome to our new forum!


Recommended Posts

Any further thoughts/news on the ability to track one's own posts as was possible under the old forum layout? I recall you commented early on in the life of the new forum, that you would look into this but so far, no news that i am aware of?

 

.....and so it came to pass... and David did summarily add the requested feature and the world become a happier place...

 

Thanks!!! Works a treat!!!!

 

Cheers...

Link to comment
Share on other sites

Unfortunately that's a much more complicated one that it may seem at first. :(

 

I'm no web design guru by any stretch but I have designed 7 websites over the years using Dreamweaver. I know you are working with a different animal but in Dreamweaver you can designate whether the link opens in the same window when clicked or in a new window. I''m not versed on CSS (and I should be) but that is supposed to make it easier to make global changes from what I understand.

 

Thanks for your constant effort to improve the site David.

Link to comment
Share on other sites

I'm no web design guru by any stretch but I have designed 7 websites over the years using Dreamweaver. I know you are working with a different animal but in Dreamweaver you can designate whether the link opens in the same window when clicked or in a new window.

Yeah. Completely different animal here. I don't just write code, which is what Dreamweaver can help with. That would be SUPER easy, with or without Dreamweaver. Just add target="_blank" to any tag and the links open in a new window. Done.

 

But here I have text that is entered by users. Some of the text is links. Some links are wrapped with tags. Some aren't. Then I have to parse the text and automatically recognize links, and turn them into proper HTML. It's a bit more complex. To give you an idea, here's some of the code used to parse and create links in the forum:

 

      case 'bbcode_htm':
        return array(
           '#<!\-\- e \-\-><a href="mailto:(.*?)">.*?</a><!\-\- e \-\->#',
           '#<!\-\- l \-\-><a (?:class="[\w-]+" )?href="(.*?)(?:(&|\?)sid=[0-9a-f]{32})?" onclick="window\.open\(this\.href\);return false;">.*?</a><!\-\- l \-\->#',
           '#<!\-\- ([mw]) \-\-><a (?:class="[\w-]+" )?href="(.*?)" onclick="window\.open\(this\.href\);return false;">.*?</a><!\-\- \1 \-\->#',
           '#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/.*? \/><!\-\- s\1 \-\->#',
           '#<!\-\- .*? \-\->#s',
           '#<.*?>#s',
        );

   if ($type == MAGIC_URL_EMAIL)
   {
       $html    = "$whitespace<!-- $tag --><a$class href=\"$url\">$text</a><!-- $tag -->$append";    
   }
   else 
   {
       $html    = "$whitespace<!-- $tag --><a$class href=\"$url\" onclick=\"window.open(this.href);return false;\">$text</a><!-- $tag -->$append";
   } 

 

Try that in Dreamweaver. :lol:

 

On top of that, there's a reason why the phpBB team decided to change the link behavior in their last update. Modifying that code will make the entire website no longer compliant with XHTML 1.0 Strict-validation. That's not necessarily a HUGE deal, but it's a bit of a pain in the neck for various reasons.

Link to comment
Share on other sites

Yeah. Completely different animal here.

 

Well, like I said. No web guru here. I know that what I've done in web design is quite easy compared to what you are dealing with (and it's a PITA just designing a web site with Dreamweaver with all the little details to look after). I wouldn't want to take on your task. I commend you!

 

If the links must open in the same page I'm sure I'll get used to it eventually. I was just trained on the old site and now I constantly find myself closing windows after following links only to have to re-navigate to where I was. Just got to get used to using the Back button.

 

Makes me think of Pavlov's Dog.

Stivers-2-10-03-Pavlovs-dogs.gif.bedb60140c1bf136789d0e9861aaa2be.gif

Link to comment
Share on other sites

  • 1 month later...

Hello guys, I'm newbie here aka your junior :)

 

I would like to thank you David as the site admin for making this great forum and also the other moderators. I hope I can learn a lot and get various good information also great knowledge regarding the software. See you soon guys

Link to comment
Share on other sites

  • 2 months later...
Wasn't it always like that?

 

I don't think so. I don't recall having to sign-in to view attachments on the old site.

 

 

I believe I made that decision to:

 

1) Avoid unnecessary server load triggered by bots.

2) Encourage people to become members before they can download files attached to this forum.

 

Those are two good pro's.

 

Any cons to that decision?

 

Not all attachments are downloadable files. Many if not the majority are screenshots which are meant to be part of a post. So, guests will be missing "a thousand words", so to speak, in some cases when they can't view an image that goes with a post.

Link to comment
Share on other sites

Those are forum-based permissions, so somehow that forum didn't have that permission - it now does. The new forum software has a complex permission scheme, which is very flexible but a bit ... well.. complex to use. There are user based permissions, forum based permissions, group based permissions, permission roles, permission masks, etc etc... ;)
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...