Search found 14 matches

by Radio
Fri Nov 02, 2007 12:46 am
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Iv taken a bit of time and have managed to get it working but im having a little trouble with the HTML inside the echo command. How would I change it so that it will be displayed with the avator on the right and title to the left and username under the avator image. $query = "SELECT c.id, c.title, c...
by Radio
Thu Oct 18, 2007 10:38 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Tried it,  all it changed was the error message to this : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'22:35:43) AND ( publish_down = \'0000-00-00 00:00:00\' OR publish SQL=SELECT c.id, c.title, c.created...
by Radio
Wed Oct 17, 2007 12:25 am
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Okey this is how I think I could implement the code but im still getting the above sql syntax error. $query = "SELECT id FROM #__menu WHERE link='index.php?option=com_mamblog'"; $database->setQuery($query); $Itemid = $database->LoadResult(); $query = 'SELECT c.id, c.title, c.created_by, u.username, ...
by Radio
Tue Oct 16, 2007 10:38 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

LOL sorry I get it  The dot has worked Now I just need to figure out the foreach part. getting this but im guessing thats because the foreach part of the code is nots setup yet. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right sy...
by Radio
Mon Oct 15, 2007 11:02 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

now getting this error

Parse error: parse error, unexpected '[' in W:\www\joomlaplazza\modules\mod_mamblog_latest.php on line 30
by Radio
Mon Oct 15, 2007 12:59 am
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

getting the following error


Parse error: parse error, unexpected T_INT_CAST in
mod_mamblog_latest.php on line 30
by Radio
Sun Oct 14, 2007 2:01 am
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

ok I know i need to incorporate this into the query : SELECT avatar, avatarapproved FROM #__comprofiler WHERE id =

But i cant get the sql syntax to work. Ill obviously need some kind of IF statement in their to determine if the avator is approved or not.
by Radio
Sat Oct 13, 2007 1:07 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Yeah I did look at the code in that module before asking, I looked at a couple of different modules doing similar things, Most of them were missing an important function. They were simply calling up the avator they were not taking into account if the avator had been approved or not. So even if the m...
by Radio
Sat Oct 13, 2007 12:05 am
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Hey man sorry to bother you again but I just thought id ask  :). You would'nt happen know how to call up the cb avator and display it as a little thumbnail next to posts?
by Radio
Thu Oct 11, 2007 9:42 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Thanx alot man works perfectly  :)
by Radio
Thu Oct 11, 2007 12:58 am
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Thanks man!  I changed the code to this and it almost works. The only thing thats wrong is its not actually linking to the cb profiles, Im just getting the message back saying This profile does not exist or is no longer available. But the profiles do exist. $query = "SELECT c.id, c.title, u.use...
by Radio
Wed Oct 10, 2007 1:53 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Re: Help modifying this module code

Hi mate thanks for answering. The code I posted is the original unmodified code from the original module. Its not meant to display the author name just the content item. So there is no errors with that. I never posted the changes I attempted to make as I really dont know what im doing Im still learn...
by Radio
Mon Oct 08, 2007 11:10 pm
Forum: Joomla! Coding 101
Topic: Help modifying this module code
Replies: 21
Views: 3462

Help modifying this module code

Okey I want to get this module to display the author name and link back to their profile. Its a front page module used to display the X number latest mamblog posts. Iv been playing with it but Im only learning php at the moment and cant get it to work. As far as I can tell its only a matter of chang...