You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 57 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Cannot Post a link / image on a BLOCK [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
phenomgfx
Nuke Cadet
Nuke Cadet


Joined: Apr 03, 2006
Posts: 4


PostPosted: Tue Apr 04, 2006 11:42 am Reply with quoteBack to top

huge issue, i been at it for hours, i can't seem to post any hyperlinks or even add an image to a custom block.

I tried using html, even bbcode, doesn't work...

I just wanna add some topsite buttons in the blocks.

Can anyone help?

[EDIT]

I've solved the image issue not the HTML coding, i can't seem to link an image or text for that matter, my html code looks like:

Code:
<p style="margin-top: 0pt; margin-bottom: 0pt;" align="center">
<a target="_blank" href="http://katz.ws/">
<img alt="" src="http://img365.imageshack.us/img365/1268/buttonkatz8ar.gif"></a></p>
<p style="margin-top: 0pt; margin-bottom: 0pt;" align="center">&nbsp;<a target="_blank" href="http://www.powerddl.com/"><img src="http://img12.imageshack.us/img12/4993/wl2kn.gif"></a></p>
<p style="margin-top: 0pt; margin-bottom: 0pt; text-align: center;">
<a href="http://ddlsub.com">DDLSub</a></p>
<p style="margin-top: 0pt; margin-bottom: 0pt; text-align: center;">
<a href="http://ddl-empire.com">DDL-Empire</a></p>



My config looks like:

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING

Code:
$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
$AllowableHTML = array("tr"=>1,"td"=>2,"table"=>2,"div"=>2,"p"=>2,"hr"=>1,"b"=>1,"i"=>1,"strike"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"img"=>2,"center"=>1,"alt"=>1,"h1"=>1,"h2"=>1,"h3"=>1,"h4"=>1,"h5"=>1,"a"=>2,"target"=>2,"blank"=>2,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
$CensorList = array("Rainbow Brite","cunt","person","Rainbow Brite","pussy","Rainbow Brite","c0ck","cum","twat","clit","Rainbow Brite","fuk","fuking","motherfucker");
// Nuke Patched 3.2 - Unreleased




What arrays am i missing to make that html code work? please help so lost.
Find all posts by phenomgfxView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Tue Apr 04, 2006 2:24 pm Reply with quoteBack to top

See: http://www.nukecops.com/PHP-Nuke_config-php-file.html

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Meister
Sergeant
Sergeant


Joined: Feb 06, 2006
Posts: 75


PostPosted: Tue Apr 04, 2006 3:03 pm Reply with quoteBack to top

Ok , i think i know the reason why...

post your nuke verison and updates if any..
Find all posts by MeisterView user's profileSend private message
phenomgfx
Nuke Cadet
Nuke Cadet


Joined: Apr 03, 2006
Posts: 4


PostPosted: Wed Apr 05, 2006 5:13 am Reply with quoteBack to top

// Nuke Patched 3.2 - Unreleased

version: 7.6

I've beeen to the whole site with config.php as you mention by yet none of the links work...


i've added these prefixes:

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING

Code:
$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
$AllowableHTML = array("tr"=>1,"td"=>2,"table"=>2,"div"=>2,"p"=>2,"hr"=>1,"b"=>1,"i"=>1,"strike"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"img"=>2,"center"=>1,"alt"=>1,"h1"=>1,"h2"=>1,"h3"=>1,"h4"=>1,"h5"=>1,"a"=>2,"target"=>2,"blank"=>2,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
$CensorList = array("Rainbow Brite","cunt","person","Rainbow Brite","pussy","Rainbow Brite","c0ck","cum","twat","clit","Rainbow Brite","fuk","fuking","motherfucker");
// Nuke Patched 3.2 - Unreleased


please check my first post that is the code im trying to put into a block but doesn't work, the text and/or buttons cannot by hyperlinked, please help.... wat can i add to the config files to make that code work.
Find all posts by phenomgfxView user's profileSend private message
phenomgfx
Nuke Cadet
Nuke Cadet


Joined: Apr 03, 2006
Posts: 4


PostPosted: Fri Apr 07, 2006 5:42 pm Reply with quoteBack to top

hello anyone can help me?
Find all posts by phenomgfxView user's profileSend private message
phenomgfx
Nuke Cadet
Nuke Cadet


Joined: Apr 03, 2006
Posts: 4


PostPosted: Sat Apr 08, 2006 2:57 pm Reply with quoteBack to top

come on developers, its been days, is there not one person who can solve this problem? NOT ONE?
Find all posts by phenomgfxView user's profileSend private message
mddu
Corporal
Corporal


Joined: Feb 07, 2006
Posts: 57


PostPosted: Thu Apr 13, 2006 12:07 am Reply with quoteBack to top

I'm having the same issue too but with hyperlinks in the news articles.

I'm doing the same thing you are with no luck. Lemme figure it out. Your images should show up in your block with the img=>2 in your config file. Are you tagging the block right with it?

I'm on 7.8 with the 3.2 patch. I'm as baffled as you are and it's going to bug me to no end to get it to work.
Find all posts by mdduView user's profileSend private messageVisit poster's website
mddu
Corporal
Corporal


Joined: Feb 07, 2006
Posts: 57


PostPosted: Thu Apr 13, 2006 12:40 am Reply with quoteBack to top

Found this in another thread.

Go into your mainfile.php (make a back up first just in case)

find this line

Code:
 $str = eregi_replace("<a[^>]*href[[:space:]]*=[[:space:]]*\"?[[:space:]]*([^\" >]*)[[:space:]]*\"?[^>]*>",'<a href="\\1">', $str);


And delete it. I did that and it worked for me.

Hope that helps.
Find all posts by mdduView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.186 Seconds - 253 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::