Page Index Toggle Pages: 1 ... 6 7 [8] 9  Send TopicPrint
Very Hot Topic (More than 25 Replies) [DONE] Enable HTML SP1.1 (Read 37078 times)
sombong
New Member
*
Offline


I love YaBB 1 Gold!

Posts: 15
Joined: Oct 4th, 2001
Re: [DONE] Enable HTML SP1.1
Reply #105 - Feb 20th, 2003 at 12:37pm
Print Post  
Quote:
yes it can. But it depends on which news script mod you installed.


The script mod I am using is News Script Plus v1.2-j
filename: news_script_plus_12j_sp1.zip
  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #106 - Feb 20th, 2003 at 12:55pm
Print Post  
I installed and works fine
Please Look at action here

Only one thing if you post with HTML,You must not have the breakline or more space with in the code
you can test and post with the code i attach. is this default
Anyway works great Grin
  

Jake_HTML_post.txt ( 24 KB | Downloads )

   
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #107 - Feb 20th, 2003 at 2:42pm
Print Post  
Quote:
I installed and works fine
Please Look at action here

Only one thing if you post with HTML,You must not have the breakline or more space with in the code
you can test and post with the code i attach. is this default
Anyway works great Grin

Yes that's normal because he still converts linebreaks into <br> and spaces to &nbsp;

Quote:
The script mod I am using is News Script Plus v1.2-j
filename: news_script_plus_12j_sp1.zip

Replace the following code in News.pl:
Code
Select All
		if($enable_ubbc) {
			if(!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; }
			$ns = $mns;
			&DoUBBC;
		} 


with this:
Code
Select All
		### HTML MOD
		if ($message =~ /\#enable_html/isg) {
			$html_username = $tusername;
			$message_backup = $message;
			$enable_html = HTML_allow($html_username);
			$message = $message_backup;
			if ($enable_html == 1) {
				$message =~ s/\#enable_html//isg;
				&FromHTML($message);
			}
		} else { $enable_html = 0; }
		### HTML MOD
		if($enable_ubbc && $enable_html == 0) {
			if(!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; }
			$ns = $mns;
			&DoUBBC;
		}
 

  

The Administrator.
Back to top
WWW  
IP Logged
 
Jazhawk
God Member
*****
Offline


I'm not always right but
I'm never wrong

Posts: 799
Location: Las Vegas
Joined: Mar 11th, 2002
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #108 - Feb 20th, 2003 at 3:44pm
Print Post  
Quote:
Did you add your username to the "allowed users" list?


Michael Prager

Yep.  Did that.  I still don't see that additional checkbox.

It modded ok. uploaded ok.  I'm not getting it the option to appear.

-Jazhawk
  
Back to top
IP Logged
 
Jazhawk
God Member
*****
Offline


I'm not always right but
I'm never wrong

Posts: 799
Location: Las Vegas
Joined: Mar 11th, 2002
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #109 - Feb 20th, 2003 at 6:30pm
Print Post  
Screw it Michael.  I found what the problem is.  I won't say what it was.  Lips Sealed

-Jazhawk
  
Back to top
IP Logged
 
sombong
New Member
*
Offline


I love YaBB 1 Gold!

Posts: 15
Joined: Oct 4th, 2001
Re: [DONE] Enable HTML SP1.1
Reply #110 - Feb 20th, 2003 at 8:37pm
Print Post  
@Michael Prager: Thanks 4ya help!  My news script is now html enabled as well.
  
Back to top
 
IP Logged
 
Katoona
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 9th, 2003
Re: [DONE] Enable HTML SP1.1
Reply #111 - Feb 21st, 2003 at 12:37am
Print Post  
Jazhawk wrote on Feb 20th, 2003 at 3:44pm:
Michael Prager

Yep.  Did that.  I still don't see that additional checkbox.

It modded ok. uploaded ok.  I'm not getting it the option to appear.

-Jazhawk


Can you please tell us what you did to fix the problem with "no" checkbox - I have the exact same problem.
  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #112 - Feb 21st, 2003 at 2:31am
Print Post  
In the forum preference settings center you should fill
  • username that HTML allowed
  • or membergroup HTML allowed


Then in the bottom of the post page there will be the checkbox for using HTML in the post if checked

If there isn't the checkbox at the bottom of the post page.Please check your Post.pl that is there this line
Code
Select All
$enable_html_checkbox 

  

   
Back to top
 
IP Logged
 
Katoona
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 9th, 2003
Re: [DONE] Enable HTML SP1.1
Reply #113 - Feb 21st, 2003 at 4:15am
Print Post  
Quote:
In the forum preference settings center you should fill
  • username that HTML allowed
  • or membergroup HTML allowed


Then in the bottom of the post page there will be the checkbox for using HTML in the post if checked

If there isn't the checkbox at the bottom of the post page.Please check your Post.pl that is there this line
Code
Select All
$enable_html_checkbox 

 


I am using SP1.2, and I suspect that to be the reason. I have set everything up correctly, but the checkbox is missing, and even if I try to enable HTML manually, it still does not work.

At first I was using HTML version 1.1 with SP 1.2 and that seem to work great, even with the News script, but after installing the latest 1.3 version I can not get the old 1.1 to work and not the new 1.3 - frustrating.
  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #114 - Feb 21st, 2003 at 5:00am
Print Post  
1) does the person or the member group you allow HTML posting printed to Settings.pl ?
2) in case of multiple usernames allowed, the name should be seperated with ","
3)have you any mods installed before such as sum_cut_off mod
4) did you install by hand or boardmod

Last can you attach your post.pl here  Smiley

  

   
Back to top
 
IP Logged
 
Katoona
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 9th, 2003
Re: [DONE] Enable HTML SP1.1
Reply #115 - Feb 21st, 2003 at 6:02am
Print Post  
I first installed the mod with the BoardMod, then I installed it manually to check that everything was in order. (I have no mods that seems to be interfering, but I am not an expert)

Everything seems perfect - it even works - I just have to write (#enable_html) manually - no checkbox.

I have attached my Post.pl file.

Thanks for any help.
  

Post_katoona.zip ( 10 KB | Downloads )
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: [DONE] Enable HTML SP1.1
Reply #116 - Feb 21st, 2003 at 7:11am
Print Post  
it seems nothing being the cause in Post.pl

Does the checkbox shows when sending IM,Prview message?

Please check Subs.pl and AdminEdit.pl

First check your Settings.pl.Does people you allow to use HTML printed saving to this file or not?
 
  

   
Back to top
 
IP Logged
 
Katoona
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 9th, 2003
Re: [DONE] Enable HTML SP1.1
Reply #117 - Feb 21st, 2003 at 7:30am
Print Post  
The file "Settings.pl" is being written to, but it seems that I have a "permission"-problem.

If I write "#enable_html" in the post box, and then some text underneath, everything except the #enable_html is shown in the preview. But NO html codes work - they all show, and do not work. It does not matter if I log in as admin or use an username that does not have permission to use HTML.

So it seems that even if the Settings.pl seems to get written to, there is some problem related to this.

The checkbox do not appear on the IM post page.

I have attached the other files, and any help will be highly appreciated since I was hoping to use HTML with the News mod.
  

pleasehelp.zip ( 42 KB | Downloads )
Back to top
 
IP Logged
 
Katoona
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 9th, 2003
Re: [DONE] Enable HTML SP1.1
Reply #118 - Feb 21st, 2003 at 7:44am
Print Post  
I posted a few topics before I installed version 1.3, and they all show up perfectly on my main page (through the news script).

My problem seems to be that the script for some reason is not checking if the username is in the autorized group when I try to post a topic. Or perhaps it thinks that the username is not on the list, even if it is.

I am using Yabb SP1.2, but I think I have mentioned this before. I know that the script is meant for version 1.1, but I see no reason why it should not work with 1.2.
  
Back to top
 
IP Logged
 
Katoona
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Feb 9th, 2003
Re: [DONE] Enable HTML SP1.1
Reply #119 - Feb 21st, 2003 at 8:32am
Print Post  
Ok, I have tried to install it on both a YaBB SP 1.1 and a fresh SP1.2 - it works perfectly with the SP1.1, but it does not work with SP 1.2.

So, there it is - I will just have to wait for an update.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 6 7 [8] 9 
Send TopicPrint