Page Index Toggle Pages: 1
There are no actions to perform.
Hot Topic (More than 10 Replies) YaBB 2.4 Live Preview (Read 2,425 times)
greydane
Junior Member
**
Offline



Posts: 61
Location: Windsor, Nova Scotia

YaBB 2.6.1
YaBB 2.4 Live Preview
Feb 26th, 2013 at 1:26am
There are no actions to perform.
I was quite sure live preview was working in YaBB2.4.  Is there a problem with it or is it just my forum.  If it is only my forum anyone have any suggestions on how to fix it or where to look.

Thanks Bruce
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #1 - Feb 26th, 2013 at 2:11am
There are no actions to perform.
Hi Bruce,

Yep, it worked in 2.4. What exactly is the problem?
  
Back to top
 
IP Logged
 
greydane
Junior Member
**
Offline



Posts: 61
Location: Windsor, Nova Scotia

YaBB 2.6.1
Re: YaBB 2.4 Live Preview
Reply #2 - Feb 26th, 2013 at 2:25am
There are no actions to perform.
Hi Derek: áI click the live preview, the window opens up and as I type the "post" nothing appears in the live preview window. áThe subject line also does not appear. áThe normal Preview button does work though.

Thanks Derek
Bruce
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #3 - Feb 26th, 2013 at 2:29am
There are no actions to perform.
Can you set me up a test account so I can check it out please? Just a regular user account will do so I can view it...
  
Back to top
 
IP Logged
 
greydane
Junior Member
**
Offline



Posts: 61
Location: Windsor, Nova Scotia

YaBB 2.6.1
Re: YaBB 2.4 Live Preview
Reply #4 - Feb 26th, 2013 at 3:02am
There are no actions to perform.
PM sent.

Thanks Derick

Bruce

www.avonflyers.ns.ca
« Last Edit: Feb 26th, 2013 at 3:08am by greydane »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #5 - Feb 26th, 2013 at 3:13am
There are no actions to perform.
Okay, can you attach Sources/Post.pl and yabbfiles/yabbc.js here for me please... I'll start there...
  
Back to top
 
IP Logged
 
greydane
Junior Member
**
Offline



Posts: 61
Location: Windsor, Nova Scotia

YaBB 2.6.1
Re: YaBB 2.4 Live Preview
Reply #6 - Feb 26th, 2013 at 3:21am
There are no actions to perform.
Attachments as requested.

Thanks Again
Bruce
  

Post_pl.txt ( 160 KB | 68 Downloads )
yabbc_js.txt ( 25 KB | 70 Downloads )
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #7 - Feb 26th, 2013 at 3:58am
There are no actions to perform.
In your yabbc.js file find:

Code (Javascript)
Select All
 á áubbcstr=ubbcstr.replace(/\[comment\](.+?)\[\/comment\]/ig, "<fieldset class=\"commentfieldset\"><legend class=\"commentlegend\">Comment</legend>$1</fieldset>");
} 


And remove the highlighted curly bracket - looks like you must have done it when you added the Guestbook mod.

Note that external JS is cached so you'll probably need to force refresh your browser after you have made the change.
« Last Edit: Feb 26th, 2013 at 3:58am by Derek Barnstorm »  
Back to top
 
IP Logged
 
Derek Bullock
Ex Member


Re: YaBB 2.4 Live Preview
Reply #8 - Feb 26th, 2013 at 4:08am
There are no actions to perform.
Derek Barnstorm wrote on Feb 26th, 2013 at 3:58am:
Code (Javascript)
Select All
 á áubbcstr=ubbcstr.replace(/\[comment\](.+?)\[\/comment\]/ig, "<fieldset class=\"commentfieldset\"><legend class=\"commentlegend\">Comment</legend>$1</fieldset>");
} 




I think those little } buggers breed.  Grin Grin Grin Grin
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #9 - Feb 26th, 2013 at 4:11am
There are no actions to perform.
Quote:
I think those little } buggers breed. áGrin Grin Grin Grin

Haha! Yep. And other times they decide to do a disappearing act. Cheesy
  
Back to top
 
IP Logged
 
greydane
Junior Member
**
Offline



Posts: 61
Location: Windsor, Nova Scotia

YaBB 2.6.1
Re: YaBB 2.4 Live Preview
Reply #10 - Feb 26th, 2013 at 4:19am
There are no actions to perform.
Hehe!!  Thanks a bunch Derick! will give it a try.  By the way, I just realized, it's 4:15 am in the UK.  When the hell do you sleep!!! Grin Grin Grin

Bruce
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #11 - Feb 26th, 2013 at 4:25am
There are no actions to perform.
No problem.

greydane wrote on Feb 26th, 2013 at 4:19am:
By the way, I just realized, it's 4:15 am in the UK. áWhen the hell do you sleep!!!

I'm just about nocturnal - less chaos. Smiley
  
Back to top
 
IP Logged
 
greydane
Junior Member
**
Offline



Posts: 61
Location: Windsor, Nova Scotia

YaBB 2.6.1
Re: YaBB 2.4 Live Preview
Reply #12 - Feb 26th, 2013 at 4:53am
There are no actions to perform.
Well that did the trick Derick. áDon't know how much I appreciate the help. áI would never have found that.

áCurious, is there a laymen description on how the different templates Display, MessageIndex, etc work? Description of taglines, where they are stored etc.? á

Off topic; but, my Mom was born just outside of London. áCan't remember the name of the town. áShe came over to Canada with her parents after the war. áJust a bit of trivia. Smiley

Thanks Bruce

@Derick Bullock That Remark Cracked me up Grin Grin

« Last Edit: Feb 26th, 2013 at 4:55am by greydane »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: YaBB 2.4 Live Preview
Reply #13 - Feb 26th, 2013 at 5:03am
There are no actions to perform.
You're welcome, Bruce.

greydane wrote on Feb 26th, 2013 at 4:53am:
áCurious, is there a laymen description on how the different templates Display, MessageIndex, etc work? Description of taglines, where they are stored etc.? á

This might be of some help:

http://www.yabbforum.com/codex/YaBB.pl?num=1232205800

greydane wrote on Feb 26th, 2013 at 4:53am:
Off topic; but, my Mom was born just outside of London. áCan't remember the name of the town. áShe came over to Canada with her parents after the war. áJust a bit of trivia.

Aha, so you're half English?

Bed time now anyway - catch ya later. Smiley
  
Back to top
 
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,829
Location: Los Angeles

YaBB 2.4
Re: YaBB 2.4 Live Preview
Reply #14 - Feb 26th, 2013 at 5:54am
There are no actions to perform.
greydane wrote on Feb 26th, 2013 at 4:53am:
I would never have found that.

I never would have found that either. Amazing! Cool
Our preview window is fine, so I didn't need this fix, but still ... amazing support! Smiley

  

Morning, noon, or night, have a great one!

Note: Like most others, this forum doesn't allow us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Page Index Toggle Pages: 1
There are no actions to perform.