Creating Custom MyCode
#51
Thank you, its now working in custom pages, however its stopped me from using html in them now. Is there a way to get the use of html back and using the [name] tag. Also is it possible to have it working on forum names, and thread titles, I have just checked, it only worked in posts.

Thanks Rob
Reply
#52
Will install the plugin and see what i can do;
Reply
#53
Awesome, thank you very much.

Got to restart my pc, been meaning to do that all day ;]
Reply
#54
Change the line into;

                		$pageInfo['content'] = $parser->parse_message($pageInfo['content'], array('allow_html' => 'yes', 'allow_mycode' => 'yes'));
Reply
#55
(2008-06-20, 05:28 PM)LeX- Wrote: Change the line into;

                		$pageInfo['content'] = $parser->parse_message($pageInfo['content'], array('allow_html' => 'yes', 'allow_mycode' => 'yes'));

Once again, amazing, thank you. Now both html and my [name] tags are comming up. If i could finally ask one more thing however. Is it possible to have the [name] working in thread names and forum names? i know they work in posts.

Thanks,
Rob
Reply
#56
I am now having trouble where on my twitter and plurk pages where i have put the scripts to show them such as

<script type="text/javascript" src="http://www.plurk.com/static/widget/plurkwidget.js?user_id=297930&height=300&interval=10"></script>

Do no longer show up Sad can that second line be edited further to make it work for all code, scripts ect ?
Reply
#57
Could I get some help with one?

I was to make a tag for CSS, so that [div style=""] is the tag, and the user can add things like border: 2px solid; or something like that. And then of course you end it with [/div style]
Reply
#58
This may, or may not, work.

\[div\ style=(.*?)\](.*?)\[/div\]

Replace to:
<div style="$1">$2</div>
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Reply
#59
(2008-06-26, 03:19 PM)MrDoom Wrote: This may, or may not, work.

\[div\ style=(.*?)\](.*?)\[/div\]

Replace to:
<div style="$1">$2</div>


thank you Exclamation

I´ve never figured out this feature and its so easy to use
Reply
#60
(2008-06-20, 07:12 PM)Rob1991 Wrote:
(2008-06-20, 05:28 PM)LeX- Wrote: Change the line into;

                		$pageInfo['content'] = $parser->parse_message($pageInfo['content'], array('allow_html' => 'yes', 'allow_mycode' => 'yes'));

Once again, amazing, thank you. Now both html and my [name] tags are comming up. If i could finally ask one more thing however. Is it possible to have the [name] working in thread names and forum names? i know they work in posts.

Thanks,
Rob
(Posted again, seems my post was ignored ;[)

I am now having trouble where on my twitter and plurk pages where i have put the scripts to show them such as

<script type="text/javascript" src="http://www.plurk.com/static/widget/plurkwidget.js?user_id=297930&height=300&interval=10"></script>

Do no longer show up Sad can that second line be edited further to make it work for all code, scripts ect ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)