Forums


Primezilla (en)

Forum for Primezilla, a Joomla! 1.0 private messages component. Posts in english language.
Last post
Forums  » Primezilla (en)  » Disable userlist when Answer to marketplace post
radiv

radiv
1 post
---
Location:
n.a.
12.04.2009 22:41

Disable userlist when Answer to marketplace post

when writing to an ad in marketplace, it will show option to select users to receive the message.
i dont want users to message any user or users!
how can i disable that userlist?
thx




 
aposch

aposch
18 posts
---
Location:
Germany
07.05.2009 02:21

Re: Disable userlist when Answer to marketplace post

you have to edit /components/com_primezilla/write.php:
* search for if( strlen( $uname)

* in the line below add readonly, so the end of the line should read
--
value='$uname' readonly>;
--

* three lines below there is a single bracket "}". Comment it out by adding "//" before like this:
--
//}
--
* insert a new line another three lines below, just before echo /td;, and insert a new "}"
That's it.
--

HTH,
aposch

PS: I just had to learn that you cannot insert codelines in this forum, maybe because of the brackets or the quotation marks (""). So I cannot show the original or altered codelines. Thus, if you face problems to understand my above bubbles, try downloading http://www.kapo.de/down/write.php and put it in the folder /components/com_primezilla/.




 
aposch

aposch
18 posts
---
Location:
Germany
29.05.2009 00:45

Re: Disable userlist when Answer to marketplace post

Sorry, the link is http://www.kapo.de/down/write.zip.



 
Forums  » Primezilla (en)  » Disable userlist when Answer to marketplace post

Codingfish operates

italobikes.com
Community for friends of italian motorcycles

fuldany.de
Das soziale Netzwerk für Fulda (im Aufbau)

kiwinity.co.nz
The New Zealand Community (in preparation)

Login