web_designer 7 Report post Posted May 23, 2010 I can't see this banner, it says I don't have enough permission or something... maybe something is wrong with the user system or permissions? me too deadmad, i couldn't see it because a permission error or something. but i think that maybe saint_michael uploaded in a wrong way or a forum error. Share this post Link to post Share on other sites
truefusion 3 Report post Posted May 23, 2010 Attachments uploaded by staff members for some reason are not viewable to the general public but is viewable to staff members. This is a known and reported issue and it does not seem to be within the control of moderators. Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted May 25, 2010 weird well lets see if this works Share this post Link to post Share on other sites
TomCol 2 Report post Posted June 1, 2010 The blue logo in the top left of the forums would probably go well on the home page, but I don't know if there's an image that hasn't been cut off. Share this post Link to post Share on other sites
deadmad7 4 Report post Posted June 6, 2010 weird well lets see if this works Yep, it works now, thanks for uploading it to ImageShack. There is probably something wrong with the user permissions in the ADMINCP. You could have used another color for 'A quest for wisdom through knowledge' instead of read. Otherwise, you could have made the 'SUTRA' RED. And also the vectors on the right look jumbled into each other. But it seems like the best one so far... Share this post Link to post Share on other sites
OpaQue 15 Report post Posted July 7, 2010 I can't see this banner, it says I don't have enough permission or something... maybe something is wrong with the user system or permissions? Sorry, I will get this checked I like Truefusion & SaintMichaels logo and this one by WD. However, Will they blend in properly? How about a PHP program to rotate the top banner with the submissions we receive? Share this post Link to post Share on other sites
deadmad7 4 Report post Posted July 8, 2010 Sorry, I will get this checked I like Truefusion & SaintMichaels logo and this one by WD. However, Will they blend in properly? How about a PHP program to rotate the top banner with the submissions we receive? Sure they'll blend... they are all blue and so the forum. And I think a banner rotator will be splendid idea! Share this post Link to post Share on other sites
OpaQue 15 Report post Posted July 8, 2010 Sure they'll blend... they are all blue and so the forum. And I think a banner rotator will be splendid idea! Hmm.. who can make me a little php script which outputs IMG file stored in a folder randomly? please.... I think, we should :- Keep the design of the logo.. matching the homepage layout.Change the font of "knowledge". (i m still searching a good font to change it on Home Page too)Enlarge the text to make it more readable. Share this post Link to post Share on other sites
web_designer 7 Report post Posted July 8, 2010 Hmm.. who can make me a little php script which outputs IMG file stored in a folder randomly? please.... I think, we should :-Keep the design of the logo.. matching the homepage layout.Change the font of "knowledge". (i m still searching a good font to change it on Home Page too)Enlarge the text to make it more readable. hmmm, i was wondering why you want the banner in php and not using flash?and according to what you listed, do you want to take only the image without the text? i didn't get you fully n here. Share this post Link to post Share on other sites
truefusion 3 Report post Posted July 9, 2010 Hmm.. who can make me a little php script which outputs IMG file stored in a folder randomly? please.... It appears you are in luck: i still have my old sig rotater script.<?php$path = '../images/sigs';$i = 0;$imgDir = opendir ($path);while ( $file = readdir( $imgDir ) ){ $file_type = strrchr( $file, "." );$is_image = eregi( "jpg|gif|png",$file_type ); if ( $file != '.' && $file != '..' && $is_image ){$images[$i++] = $file; }}closedir ($imgDir);srand( (double) microtime()*1000000 );$image_name = $path . '/' . $images[rand( 0,sizeof( $images ) -1 )];$imgSize = GetImageSize( $image_name );if ( $i == 0 )die();readfile("$image_name");?>It is really old code (made to work with PHP 4), so i am not sure of its performance, but it is easy to implement. All you have to do is create a folder with just about any name; though, naming it as "image.jpg" or something along those lines may be more appropriate. Then you just put the PHP script in that folder, then change the $path variable to where the images you want to use are stored in, and, finally, provide the path to the folder in an IMG element, for example: <img src="/path/to/image.jpg/"/> Back when i used this script, the only problem i had was that some browsers would remember the size of the previous image and therefore distort the next image until you reloaded the image. However, you won't have to worry about that in this case, since all the images will be the same size. Share this post Link to post Share on other sites
deadmad7 4 Report post Posted July 9, 2010 I have found a very simple php code to rotate the logos, like the one used by webmasters to rotate the ads on the top of the pages. It has a 'ad.txt' and a php code, the ads are coded with <a href> in the AD.TXT and then the php code randomly picks one of them and displays them for the time selected. It's also seo friendly and won't give the Google Spider/Crawler Bots any headaches Here is the code for the ad.txt - <a href="Xisto.com/forums/images/logo1.png" target="_top" > <img src="Xisto.com/forums/images/logo1.png" width="468" height="60" alt="null" border="0"></a>~<a href="Xisto.com/forums/images/logo1.png" target="_top" ><img src="Xisto.com/forums/images/logo1.png" width="468" height="60" alt="Xisto Logo" border="0"></a>~<a href="Xisto.com/forums/images/logo1.png" target="_top" ><img src="Xisto.com/forums/images/logo1.png" width="468" height="60" alt="null" border="0"></a>~<a href="Xisto.com/forums/images/logo1.png" target="_top" ><img src="Xisto.com/forums/images/logo1.png" width="468" height="60" alt="Xisto Logo"></a> and the PHP code for rotating code - <center><?php$fcontents = join ('', file ('ads.txt'));$s_con = split("~",$fcontents);$banner_no = rand(0,(count($s_con)-1));echo $s_con[$banner_no];?></center>and where in the file where the logo is grabbed, put this instead include 'ad_rotator.php';. It's as simple as that! hmmm, i was wondering why you want the banner in php and not using flash? and according to what you listed, do you want to take only the image without the text? i didn't get you fully n here. Almost all browsers support PHP, so if it is in PHP then everyone can view the banners. Contrariwise, if we use flash to make the banner, some browsers don't support it, or it isn't installed or it has been turned off in the settings and flash can also crash your browser and PHP is more lightweight than flash, flash also takes more memory. There are many more reasons... i'm just too lazy to point them out Share this post Link to post Share on other sites
Little Asterisk 1 Report post Posted July 9, 2010 (edited) OpaQue, since you've put the myCent system back on I'm going to offer you a plethora of PHP scripts that make a rotating banner: https://www.google.hr/search?sourceid=chrome&ie=UTF-8&q=random+banner+rotator Almost all browsers support PHP, so if it is in PHP then everyone can view the banners. Contrariwise, if we use flash to make the banner, some browsers don't support it, or it isn't installed or it has been turned off in the settings and flash can also crash your browser and PHP is more lightweight than flash, flash also takes more memory. There are many more reasons... i'm just too lazy to point them out Or someone has an iPhone or iPad, which doesn't support Flash (I hate Apple for that. I'd still like to use some of their products, though. Just not the iPhone). Edited July 9, 2010 by Little Asterisk (see edit history) Share this post Link to post Share on other sites
OpaQue 15 Report post Posted July 10, 2010 @deadmad7: Your Code won't serve the purpose here. I can only have a "direct" url to image. The URL should download binary data of image and render it in browser... your code, downloads the html and then renders it in browser. so your output format is HTML.@truefusion - thanks man This helps. Doubt 1 :-Don't you need to add "content/type" header to tell the browser that the file is actually an image. If you do this, I think you will not have to rename the file to *.jpg. Doubt 2 :-I hope the server does not allow the file to be downloaded without compiling the php. (because of jpg extension). Or it may need some special lines in .htaccess file. Share this post Link to post Share on other sites
truefusion 3 Report post Posted July 10, 2010 Doubt 1 :-Don't you need to add "content/type" header to tell the browser that the file is actually an image. If you do this, I think you will not have to rename the file to *.jpg. Doubt 2 :-I hope the server does not allow the file to be downloaded without compiling the php. (because of jpg extension). Or it may need some special lines in .htaccess file.1. The folder name, i would suspect, could really be anything. I'm pretty sure you can even use "index.html" as the folder name and the image would still load. While i have not tested the script in that fashion, i would expect it to work like renaming a PNG file to a TXT file. All you are doing is changing the name, not the contents of the file. Opening the file in a text editor will still give you the jumbled text.2. Since the actual path of the images is only known by the script (especially if the path is outside public_html), the only way to access the images (though with random variation) would be through the PHP script. Since the image will always have the same name but different contents, i cannot say that the browser's cache system would be involved here, and the image will always have to be downloaded. I do not know of a way to prevent people from downloading the image from the PHP script. But i can say that when they try to save it, they may get a different image than what they want, since the script will always pick an image randomly. Share this post Link to post Share on other sites
deadmad7 4 Report post Posted July 10, 2010 I really wanted to make a Banner for the site before it was too late. Here is mine : It's also hosted on http://tinypic.com/view.php?pic=9qww3l&s=3 . I hope it is good enough to be included in the banner rotation I don't think that it is as original as the other ones like web_designer's but I tried to make it look as PROFESSIONAL as possible and a banner that could attract visitors. @OpaQue - Ooops.. I don't really get what you are saying is wrong but sorry for giving you the wrong code lol BTW can't HTML be produced in the same page as PHP? Also, on my forum boards, which run on vBulletin there are plugins for banner rotators... so you might want to look if there are IPB v3 Plugins for Banner rotation! It could make the process as Seo-friendly as possible and it would head-ache free! Share this post Link to post Share on other sites