
Grok 🤖
Members-
Posts
95 -
Joined
-
Last visited
Never
Everything posted by Grok 🤖
-
Thanks for the feedback! Funny you should say that, the firefox banner is there simply out of my personal choice. We needed something to "temporarily" fill that gap, and that fit the criteria. Another guy on the team says it's an eyesore, so I reckon it wont be missed when I do remove it. Thanks for the feedback! And you know, I have been considering making those stats into links, but wasn't sure if it was a good idea. Now I know it is, i'll add them right away. Thanks for the feedback I am about to remove the test account. From now on please use these details to access the site in test-mode. Test-Drive / coldcast2009 http://www.coldcast.co.uk/page/test-drive PS: The link is explaining what the Test Account can do.
-
I've always been a fan of this kind of layout, nice and clean, well presented. I did not go too far into detail, as I'm not expert on this kind of stuff, but there's one thing you may wish to fix... In firefox (not sure about anything else) your navigation menu on the right overlaps one of the two buttons underneeth it. Other than that, I think it looks OK. PS: But i'm no expert.
-
Hey guys. nrg_alpha: Thanks for your review, very detailed. Come to think of it, I never actually validated my CSS, slipped my mind completely. As for image compression, I believe that could be a good idea. As you said, it aint a lot, but it will add up if/when I get a lot of users. fabrydesign: Thanks for bringing my attention to that, I was so wrapped up in getting the site done that I did not go back and perfect anything. Also... I should say that a logged in users sees a completely different side to the website. The homepage is totally changed and everything is on display and showing off to its full extent. I know how much of a pain in the a!ss it is registering at a website, and even worse when you're probably not gonna use it, so I created you guys a test account to take a look at the logged-in homepage. TestUser / password Thanks for all your feedback! Very much appreciated! PS: Please let me know what you think of the logged-in homepage, I'm quite happy with it.
-
I have recently finished a brand new project which has been in development for the past few months. I have just released it to the public, and would like to request a review. I have optimized the code as much as possible, it is nearly 100% standards-compliant, and the robots.txt file has been modified for maximum efficiency. Any feedback would be great! Thanks in advance. ColdCast - Make your Mark
-
Simple Script - Please Advise Me!! :(
PcGeniusProductions replied to PcGeniusProductions's topic in Javascript Help
Hi darkfreaks. Yeah I noticed that a lil earlier, but even so, it does not work. Nevermind, I have given up on the code anyway, it was only ever a toy, and I have more important things to worry about than this. Maybe when I am bored outta my head with nothing better to do, I will try again. Thanks to everyone here who tried to help, I am grateful for that. -
Simple Script - Please Advise Me!! :(
PcGeniusProductions replied to PcGeniusProductions's topic in Javascript Help
DJ Kat: Thanks for your help. I will try this now. MadTechie: I stand corrected! Remember... "Support" forum Try meditating a little -
Simple Script - Please Advise Me!! :(
PcGeniusProductions replied to PcGeniusProductions's topic in Javascript Help
I am a real coding rookie, and this is one of my first unique ideas which I actually am trying to build... The idea is to allow a user to enter a URL of their desired page, then once loaded (in the iframe) they can edit it in their browser. It's only a toy, but I think it would be cool. I am not exactly receiving errors, It just simply dont work. I have not tried it on my server yet, as with it being JS/HTML, it should work perfectly fine client-side. The page loads perfectly fine in the iframe, but when you click "edit" nothing happens. And yeah I agree, I shouldn't have posted in a PHP Section, I just wasn't aware of any HTML section, I found that just now. If there is a PHP Method of doing this, it would be much better in terms of compatibility and security, as it is a slight pain allowing users to View Source and take my code. Thanks in advance for any help offered -
Simple Script - Please Advise Me!! :(
PcGeniusProductions replied to PcGeniusProductions's topic in Javascript Help
Hmm, and I am under the illusion that these forums are here to distribute knowledge and support between its members... These are "support" forums not "snide" forums, and pardon me for pointing out the obvious but out of the two the post you submitted was far from support! That, to me, doesn't sound logical! -
OK, I know this aint PHP, but I don't know where else to go, and I am sure I am missing something stupidly simple here... Look at the following code, logically it should work perfectly fine... <form target="editor" onsubmit="this.action=this.goTo.value"> <input type="text" name="goTo"> <input type="submit" name="submit" value="submit"> </form> <a target="editor" href="javascript:document.body.contentEditable='true'; document.designMode='on'; void 0">edit</a> <iframe src="" id="editor" name="editor" border="0" frameborder="0" width="100%" height="500"></iframe> But it doesn't! Any ideas? I am trying to let a user enter their desired URL, which then loads in the iframe. That works fine, but then when I try to let them edit it with the link, it failes. Using the direct javascript on the parent page works fine, so why not in the target="editor" ?
-
Nevermind, I fixed it... here was the problem... I was trying to load $avatarUrl = $user->getThumbAvatar(); Before $user = CFactory::getUser($userid); When it needed to second one to be loaded ready to use the data from it. A novice mistake, but thanks for your help
-
Hmm, the error report returned nothing.
-
No, I will try that now, but I did manage to refine the error location to these lines... as when they are removed the page loads, obviously without the data that they feed... $avatarUrl = $user->getThumbAvatar(); $user = CFactory::getUser( $userid ); $name = $user->getDisplayName(); I will try the error report now, thanks.
-
Hi. I have written a small PHP Script, but for some reason it does not seem to work properly. Every page I include it on returns a blank page... Here is the code... <link type="text/css" href="modules/mod_yoo_login/mod_yoo_login.css.php" rel="stylesheet" /> <?php error_reporting(0); $jspath = JPATH_BASE.DS.'components'.DS.'com_community'; include_once($jspath.DS.'libraries'.DS.'core.php'); $avatarUrl = $user->getThumbAvatar(); $user = CFactory::getUser( $userid ); $name = $user->getDisplayName(); ?> <table border="0" cellspacing="0"> <tr> <td> <img src="<? echo $avatarUrl; ?>"/> </td> <td style="padding:5px"> <strong> <span><? echo $name; ?></span> </strong> <hr /> <form action="index.php" method="post" name="login"> <span class="niftydefault" style="display: block;"> <span class="yoo-login"> <span class="logout"> <span class="logout-button-icon"> <button value="Logout" name="Submit" type="submit" title="Logout">Logout</button> </span> <input type="hidden" name="option" value="com_user" /> <input type="hidden" name="task" value="logout" /> <input type="hidden" name="return" value="aHR0cDovL2NvbGRjYXN0LmNvLnVrL2luZGV4LnBocA==" /> </span></span></span> </form> </td> </tr> </table> Any ideas? I was thinking I may have the syntax wrong, but if I have then I cannot see where. Any help here would be very much appreciated.
-
Try this page. It may help... http://www.php-editors.com/forums/tutorials-articles/2984-php-ip-blocking.html
-
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
Okay. I am just scouring the deepest bits of code for any CSS Clashes. Thanks for your help though, very much appreciated. I have just found out how it is "supposed" to load the tooltip. It calls a variable which in turn loads a 3rdparty PHP file, but that would only restyle the "title" tag which as you say, is impossible. I am going to try to apply the same method, but using a mouse-over tag. Possibly the developers at Azrul made a mistake. To everyone in this topic, thank you very much for your help, but I believe only I can fix this as I am the only one who knows the whole setup and what needs doing. Thanks again. -
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
I understand what you meen, having looked at it, I realize the title cannot load html like this, but I don't understand, why it worked using this method before, but not now. Nothing has changed. And if I was to revert the 3rdparty template back to the old one, it would work. There is something forcing it to act like this and changing codes on the core aint gonna fix it. It is an issue with the main joomla template. Do you know what I meen? -
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
Ahh... I think I know what you mean... It has no onLoad function, but instead has this in the title area... title="<?php echo cAvatarTooltip($row); ?>" Here is the whole script for that section... <a href="<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$row->id ); ?>"><img class="avatar hasTip" src="<?php echo $row->smallAvatar; ?>" title="<?php echo cAvatarTooltip($row); ?>" width="64" height="64" /></a> -
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
I have no idea. I am a designer, not a programmer. Logically it would be JavaScript, but there is no JS files in any of the directories. I would hazard a guess at CSS, but like I said, I am no programmer. I'm not even certain CSS can load a DIV in this way. -
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
This is already done. The system I am using is JomSocial and does this for me. My primary issue is that if I use the IceTheme template, the div-tooltip does not load and it replaced by the default one. If you know what I meen? -
Hi. Have you tried $AdditionalComments=str_replace("<br />", "\n", $AdditionalComments); or $AdditionalComments=str_replace("<br>", "\n", $AdditionalComments);
-
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
Note: It also corrupts every other tool-tip on the page. E.g. Photos and Online Users pictures. It is supposed to display a "html" tooltip on mouse-over but instead it display that mess you saw earlier. -
Why is it showing the raw source code???
PcGeniusProductions replied to PcGeniusProductions's topic in PHP Coding Help
Hi, thanks for replying. The code is fine. It is outputted this way because it supposed to result in a formatted tool-tip, but as you can see, it ditches the formatted tooltip and goes with the default browser version, resulting in this mess. I will switch my joomla template to a compatible one so you understand what I meen. Try the page again. http://******/community -
Hi, I am setting up a small website for my college, and have come across an issue, which remains firmly in place regardless of any editions I make. I am using Joomla v1.5.9 with the "IceTheme Habitat" template, and the portal is JomSocial using "Bubble" template (powered by "default") I have narrowed the issue down to place the blame firmly on the IceTheme template causing it to corrupt, but I have no idea how, there are no clashing CSS Tags... Here is the problem... Try hovering your cursor over any avatar on the page, and instead of returning the status and info of that user, it outputs a load of de-formatted results. http://******/community I will be more than grateful for someone to help me out here, I have been trying for almost a week and am about to give it up as a bad job. Posting here at PHPFreaks truly is my last resourt. Thanks in advance.
-
A little help please. Very urgent!
PcGeniusProductions replied to PcGeniusProductions's topic in HTML Help
Ahh, yeah this is the right idea, thanks man it was the IF statements I was clueless about. I kept using this kind of syntax but without the IFF statement, resulting in everytime the bar was clicked, it tried to use both functions. Thanks, very much appreciated!