Two questions for phpnuke site

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Two questions for phpnuke site
Why_Me
CZ Newbie
Why_Me has been a member for over 19 year's 19 Year Member
usa.gif alaska.gif
Website:
Status: Offline
Joined: Oct 24, 2004
0.00 posts per day
Posts: 24
Points: 1,205
 Yahoo Messenger MSN Messenger 
I would like to know how to get a certain image to show up on the main page when I submit news like on this site here: [ Register or login to view links on this board. ]
[ Register or login to view links on this board. ] <---my clan site
Also, I have added a affilates block to my clan site, but for some strange reason when I click on to a link/mini banner in the block, it will not take me to that site. Here is the code I am using for that affilitates/PiN Spnonsers block on the lieft side of my clan site.



<?php

/************************************************************************/
/* PHP-NUKE AFFILIATES BLOCK COPYRIGHT */
/* */
/* Copyright (c) 2004 by [ Register or login to view links on this board. ] */
/* Megalomaniac - [ Register or login to view links on this board. ] */
/************************************************************************/

if (eregi("block-Affiliates.php",$PHP_SELF)) {
Header("Location: index.html");
die();
}
$content = "<CENTER>Affiliates<br><br>";
$content = '<p align="center"><a name="scroller"></a><MARQUEE loop="0" behavior="SCROLL" direction="up" height="150" scrollamount="1" scrolldelay="1" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'><center>';
/* If you want to add more just copy the line directly above and paste it below this message, changing the URLs as needed */
$content .= "<a href=\"http://worldgamerz.com\"><input type=\"image\" src=\"http://67.18.37.16/2080/63/upload/p8298189.gif\" border=\"0\" alt=\"World Gamerz\"></a><br><br>";
$content .= "<a href=\"http://www.zeroservers.net\"><input type=\"image\" src=\"http://67.18.37.15/2290/119/upload/p174959.gif\" border=\"0\" alt=\"ZeroNet Servers\"></a><br><br>";
$content .= "<a href=\"http://zyzale.net\"><input type=\"image\" src=\"http://zyzale.net/images/88x31ctchmeZH.gif\" border=\"0\" alt=\"Zyzale Hosting\"></a><br><br>";
$content .= "</center>";
?>



Back to top Reply with quote
#2   re: Two questions for phpnuke site
echo
CZ Wiz
 Codezwiz Site Donator
echo has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Your link codes should read something like this:

"<a href=\"http://www.yoursite.com\" target=\"_blank\"><img src=\"http://www.yourimg.jpg\" alt=\"myimg\">My Image Name</a>"




See how that works for you.


Back to top Reply with quote
#3   re: Two questions for phpnuke site
Why_Me
CZ Newbie
Why_Me has been a member for over 19 year's 19 Year Member
usa.gif alaska.gif
Website:
Status: Offline
Joined: Oct 24, 2004
0.00 posts per day
Posts: 24
Points: 1,205
 Yahoo Messenger MSN Messenger 
Thank you echo! It worked great. One other question:
[ Register or login to view links on this board. ] <---this site here

Do you see how they have the "Battlefeild2" images next to where they posted on those center blocks. How did they do that? I am not sure where to upload my impage so I can do something simiiar to what they have on that site.



Back to top Reply with quote
#4   re: Two questions for phpnuke site
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
just make,find the image you wanna be there
put that image to images/topics folder
go to your admin panel / topics
find your image in drop down , name it
when publishing a news for site chose that name from ( admin panel/news)
so that image will appear near your news




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Two questions for phpnuke site
R2Mrs
CZ Newbie
 Codezwiz Site Donator
R2Mrs has been a member for over 18 year's 18 Year Member
australia.gif
Age: 49
Gender: Female
Website:
Status: Offline
Joined: Sep 25, 2005
0.00 posts per day
Posts: 28
Points: 1,200
  MSN Messenger 
They have done those with a news post. They probably made a new topic (bf2), in the topic area of the admin then designated the topic image they wanted to display.
You upload the images into your images/topics area on your [ Register or login to view links on this board. ] This is where I have mine anyway.

An example
[ Register or login to view links on this board. ] - is where I uploaded my image. I then created a topic in the topic area of the admin and had the settings as such

Add new topic

Topic Name:
Video Productions
(just a name without spaces - max: 20 characters)
(for example: gamesandhobbies)


Topic Text:
« RČ» Raging Rebels Video Productions
(the full topic text or description - max: 40 characters)
(for example: Games and Hobbies)


Topic Image:
r2vidproductions.jpg - this should be a scrollable menu that shows any images you have uploaded to that area

Everything in Blue is what I added. Hope that helps somewhat.



Back to top Reply with quote
#6   re: Two questions for phpnuke site
Why_Me
CZ Newbie
Why_Me has been a member for over 19 year's 19 Year Member
usa.gif alaska.gif
Website:
Status: Offline
Joined: Oct 24, 2004
0.00 posts per day
Posts: 24
Points: 1,205
 Yahoo Messenger MSN Messenger 
[ Register or login to view links on this board. ] <---this site here.

Unless I select "New Story" from administratiion block the right side block won't show. I used the "New Story" from the admin blk/module on the top left, but I still cannot get my image to show up. I uploaded the image to the images/news . I am still getting a red x though. icon_neutral.gif



Back to top Reply with quote
#7   re: Two questions for phpnuke site
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
seems u didnt upload the image to your host server or didnt chose it adminpanel/topics

your image link looks lik this
[ Register or login to view links on this board. ]

should be
[ Register or login to view links on this board. ]

also before post any news make sure you chose the topic image from drop down menu called topic ( the one under the title area when typing ure news )
then preview your mesage before post it you will see the topic image there




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#8   re: Two questions for phpnuke site
Why_Me
CZ Newbie
Why_Me has been a member for over 19 year's 19 Year Member
usa.gif alaska.gif
Website:
Status: Offline
Joined: Oct 24, 2004
0.00 posts per day
Posts: 24
Points: 1,205
 Yahoo Messenger MSN Messenger 
It works! icon_cool.gif icon_biggrin.gif



Back to top Reply with quote
#9   re: Two questions for phpnuke site
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
icon_mrgreen.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum