How to run html chat in post

Started by homeslice, November 17, 2004, 02:04:12 AM

Previous topic - Next topic

homeslice

I have parachat, here is the code I would like to insert and make it run in a post....

<!-- Begin Free ParaChat v5.5 Code -->
'<iframe src='http://chat.parachat.com/roam/login.html?room=wordabuse&width=400&height=200&bg=000000&fg=009900'; framespacing='0' frameborder='no' scrolling='no' width='400' height='200'>
<p>You do not have iframes enabled. <a href="http://direct.parachat.com/iframe.html">More Info</a> </p></iframe>
<!-- End Free ParaChat v5.5 Code -->

http://battle.ne1.net

Wordabuse Hip-Hop Forums!


homeslice

All I need to know is how to post this code, than the chat will run inside a topic which I will lock

http://battle.ne1.net

Wordabuse Hip-Hop Forums!


[Unknown]

I suppose you could post a topic, with something like "LOOK FOR THIS IN PHPMYADMIN", and then edit it with phpMyAdmin to have that HTML.

-[Unknown]

homeslice


http://battle.ne1.net

Wordabuse Hip-Hop Forums!


Jerry

I think [Unknown] means to post a topic on your forum, then edit it with phpMyAdmin to add the real html code.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

homeslice


http://battle.ne1.net

Wordabuse Hip-Hop Forums!


Jerry

Make a post with anything in it I guess:
Open up phpmyadmin (most hosts have it installed)

Find your smf_messeges and click browse, the click the >> button or select the last page in the little drop down. Then find the post topic you posted (about 5 columns in is were the topic name is) and click the edit icon (a pen over a piece of paper). Then on that page find body, and paste your html code in the texarea beside it.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

BigMike

Since you can not post the directly without using the code feature (which will loose all functionality of what you're trying to do anyways), what you'll have to do is create a new topic and post anything in it, like 'hello world'

Then go into your phpMyAdmin, go to the table where your posts are kept, and then find that section (maybe using the thread ID #?) and edit the post manually through the phpMyAdmin to change the contents from 'hello world' to what you want to have put there.

Since SMF won't allow certain things to be posted due to security reasons, the only way to really get something like this is to go behind SMF's back through the actualy struction of your MySQL database and manually edit the thread's contents there.

Got it?

homeslice

phpMyAdmin ???? Where is that located ??? I can go into Admin section but phpmyadmin I cannot find it so I dont know how to get to where u guys are talking about

http://battle.ne1.net

Wordabuse Hip-Hop Forums!


Jerry

phpmyadmin is provided by your webhost, you should ask them about that. If you have a Cpanel/Linux host they usually have a link to it on your Cpanel.


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

homeslice

So thats the only way to do it by going into phpmyadmin ? And its located in the Admin Control Panel ? I dont see it >

Is there any other way to do it

http://battle.ne1.net

Wordabuse Hip-Hop Forums!


BigMike

no, no, its not part of SMF. In a sense, SMF is part of it.

Is your forum running on its own domain? And are you the owner of that domain? If so then your host should have provided you with some kind of administrative tools for your webhost server.

If you are on some free webspace (that includes access to MySQL - WOW!) then you might have to contact your webspace provider to see if you can gain access to your SQL admin area. Literally ask for "the phpMyAdmin" of your host server. I would imagine that any server who offers MySQL would of course offer access to the admin section of that MySQL..

So homie, its not part of SMF, its a completely different thing that you need to go to in order to edit the SQL database of SMF.

BigMike

Advertisement: