Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Tizwit
Involved
Involved



Joined: Aug 29, 2004
Posts: 324
Location: New Mexico

PostPosted: Sun Oct 16, 2005 8:26 pm Reply with quote

I am wanting to find a Block like the Recommended Sites Block which will have the Supporters block interface.

What I am wanting to do is add a scrolling block that I can add Usefull information Links for my 4Support Site which will hold information like Donor Services and allow others to suggest links.

I want this to be able to expand in the future.

If there is a way to add more than one "supporters" block that would be great.

_________________
Brian [ Only registered users can see links on this board! Get registered or login! ]
Helping the Children in the NM Children's Hospital 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Oct 16, 2005 8:45 pm Reply with quote

You can add as many supporter's blocks as you want. Just replicate the block code, give it a new name, and activate it through Block Admin.
 
View user's profile Send private message
Tizwit







PostPosted: Sun Oct 16, 2005 8:51 pm Reply with quote

Raven wrote:
You can add as many supporter's blocks as you want. Just replicate the block code, give it a new name, and activate it through Block Admin.


This is going to sound stupid but replicate the block code?

So make a new block in the Blocks Admin? or copy all the code give it a new name and upload it?
 
Raven







PostPosted: Sun Oct 16, 2005 8:52 pm Reply with quote

Replicate the block-BLOCK.php code, give it a new name, upload it, activate it Smile
 
Tizwit







PostPosted: Sun Oct 16, 2005 9:15 pm Reply with quote

Raven wrote:
Replicate the block-BLOCK.php code, give it a new name, upload it, activate it Smile


ah ok.. I will try this here in a bit.

I need to go eat.
 
Tizwit







PostPosted: Sun Oct 16, 2005 11:34 pm Reply with quote

I have done what I think you said and it still comes up as a duplicate of my current supporters block..

would this have anything to do with the need to run the install .php

Or also where did you get your recommended sites. I am sure I could alter that one as well..
 
Raven







PostPosted: Sun Oct 16, 2005 11:54 pm Reply with quote

I was responding in general. If it uses a database table then you will need another table, etc. Wrote it, but it's like a hundred others out there.NOTE: I had to code on_mouseover and on_mouseout with an _ to bypass security. Be sure to remove the _ from those two words before saving the code.
Code:
<?php

if ( !defined('BLOCK_FILE') ) {
    Header("Location: index.php");
    die();
}
$content .= <<<_CONTENT_
<marquee behavior= "Scroll" allowtransparency="true" align= "Center" direction= "Up" scrollamount= "2" scrolldelay= "10" on_mouseover='this.stop()' on_mouseout='this.start()'>
<a href="http://nukeresources.com/" target="_blank" title="nukeresources.com"><img src="images/mylinks/nr1.gif" width="88" height="31" border="0" alt="nukeresources.com"></a><br /><br />
<a href="http://nukescripts.net/" target="_blank" title="nukescripts.net"><img src="images/mylinks/nsn_button.png" width="88" height="31" border="0" alt="nukescripts.net"></a><br /><br />
<a href="http://ravenphpscripts.com" title="PHP Web Host - Quality Web Hosting For All PHP Applications"><img src="images/mylinks/RavenWebServices.gif" alt="" border="0" /></a><br /><br />
</marquee>
_CONTENT_;
?>
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©