1
barryc
Issue with Classifieds 1.0
  • 2009/7/6 15:24

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


I am using the module Classifieds, version 2.0 RC1, on my site. In general I like it. There is an issue that I would like to fix. There is a variable _INTRO, defined in /language/English/main.php, which inserts an introductory message on the Classifieds web page. The problem is that this message does not appear for users who cannot list. In my case only those in our "members" group can list. I would like that message to appear for everyone who can access the module including anon and registered users.

Ideally it would be good to have a setting in the module preferences to define an introductory message. In the meantime I'd settle for a hack if someone can tell me what I should do. I'm no programmer, hence the cry for help.

barryC
Barry Cooper
Sweet Home, Oregon

2
culex
Re: Issue with Classifieds 1.0
  • 2009/7/13 16:42

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


I would try this...

Line 62 of index.php looks like this
//    $xoopsTpl->assign('intro', constant($main_lang."_INTRO") );


Dry deleting the // so it looks like this
$xoopsTpl->assign('intro'constant($main_lang."_INTRO") );


Havent tried but looks like this would do it
Programming is like sex:
One mistake and you have to support it for the rest of your life.

3
barryc
Re: Issue with Classifieds 1.0
  • 2009/7/13 17:32

  • barryc

  • Just can't stay away

  • Posts: 480

  • Since: 2004/3/20


That did it. Thanks for the suggestion. Some day I'll have to learn some programming skills.

barryC
Barry Cooper
Sweet Home, Oregon

4
culex
Re: Issue with Classifieds 1.0
  • 2009/7/13 18:01

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


np, glad to help :)
Programming is like sex:
One mistake and you have to support it for the rest of your life.

Login

Who's Online

426 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 426


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits