BBCode doesn't show

Forum
Last Post
Threads / Messages

Killgore

Member
Member
Joined
Dec 19, 2008
Messages
82
Points
0
Mysidian Dollar
5,347
I tried to display my adoptable (Razgriz) and copied and pasted the code into a signature, and i get this

get.php

Creature Name: Killgore
Level this creature up! Click Here!

Here's the code:

Code:
[img]http://www.sylonia.freehostingwave.com/public_html//get.php?id=4[/img]
	Creature Name: Killgore
	[url=http://www.sylonia.freehostingwave.com/public_html//levelup.php?id=4]Level this creature up!  Click Here![/url]

There's obviously something wrong with the code generator, because it's like that with all of the adoptables. Any help?
 
You've got incorrect values in the config.php file for your domain name and script path, so they're not pointing to the right place on the server.

For your domain name in config.php set:
sylonia.freehostingwave.com

For the script path:
/adoptables

Those values should then make the BBCode generator work as it should. :)
 
get.php

Creature Name: Razgriz
Level this creature up! Click Here!

Hm.....I set everything like you said, and this is the new result:

Code:
[img]http://www.sylonia.freehostingwave.com/adoptables/get.php?id=4[/img]
	Creature Name: Razgriz
	[url=http://www.sylonia.freehostingwave.com/adoptables/levelup.php?id=4]Level this creature up!  Click Here![/url]

EDIT: okay, it's working now. However, it won't show on my forums.....any clues?
 
PHPBB doesn't like the code because of the .php in the image's url. The next release should have a tweak to it that tries to solve this issue.
 
Well, a workaround may be here:
http://www.rusnakweb.com/forum/showthread.php?tid=403&pid=3153#pid3153

See if adding that to your site helps at all. That is a variation of the fix planned and should fix the issue, but not sure.
 
One more quick one: Where would i go to edit the display code that gets generated? I wish to get rid of the "Adoptable Name: Razgriz" part.
 
Where, in the BBCode?

The full bit for the BBCode is:

PHP:
$article_content = $article_content."<b><br><br>BBCODE:</b><br>
<textarea name=\"textarea\" cols=\"50\" rows=\"4\">[img]http://www.".$dname."".$spath."/get.php?id=".$cid."[/img]
	Creature Name: ".$name."
	[url=http://www.".$dname."".$spath."/levelup.php?id=".$cid."]Level this
creature up!  Click Here![/url]</textarea><br>";

Its in manage.php. :)
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top