61
Cuidiu
[Solved] Re: CBB 3.08 Title Question
  • 2007/7/6 23:13

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Found it. In case anyone else wants to know - search for this bit of code:
$xoops_pagetitle =

in the following pages of modules/newbb/
index.php
viewforum.php
viewtopic.php

remove the [] from the code. For example in index.php:
Original (brackets in red:
$xoops_pagetitle = $category_obj->getVar('cat_title') . " [" .$xoopsModule->getVar('name')."]";
Brackets removed:
$xoops_pagetitle = $category_obj->getVar('cat_title') . " " .$xoopsModule->getVar('name');
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



62
Cuidiu
CBB 3.08 Title Question
  • 2007/7/6 19:20

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


In the title of the page the module name appears as such:
[Forum] (I've renamed newbb to "Forum"). So if I'm viewing a post, the page title looks like this:
Post Title [Forum - Name of Forum] Site Name

How can I remove the brackets [] from the title?

Thanks so much!
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



63
Cuidiu
Renamed register.php
  • 2007/7/6 18:08

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


From advice in another thread, I have renamed my register.php file. Hopefully, I have not missed any areas that call register.php. I have renamed the instance(s) of register.php to the newfilename.php in the register.php code and in include/registerform.php code as well as the user.php language file. Is there any other place register.php appears (code, templates, etc.)?

Thanks in advance...
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



64
Cuidiu
Re: An suggestions on how to avoid SPAM?
  • 2007/7/6 18:01

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


I am interested in adding this to my .htaccess file. I assume it blocks any bot/browser that has a referrer address? Sorry, I'm not very good at the terminology. Does this block referer bots? Also what does the RewriteRule do? I assume it sends them to the cornfield? [size=x-small](think Twilight Zone)[/size]

TIA!

Quote:

carnuke wrote:
use this in your .htaccess file
---------------
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^(http://www.)[a-z]+-[a-z]+- [NC]
RewriteRule ^(.*)http://%{REMOTE_ADDR}/ [R=301,L]
---------------
also use netquery module

It make a big difference
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



65
Cuidiu
Re: Emails Blocks
  • 2007/7/4 15:07

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Thanks davidl2. I will check that out.
Quote:

davidl2 wrote:
I seem to remember that there's a very good guide on Xoops-magazine about setting up CAPTCHA
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



66
Cuidiu
Re: Emails Blocks
  • 2007/7/4 14:56

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Thanks BDW! I do use the latest Protector. Is the RBL Plugin an IP block list? I can't seem to find the option in the preferences. I do block IPs using .htaccess, however.
Quote:

BDW wrote:
aswell as enabling the RBL Plugin for Protector.
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



67
Cuidiu
Re: Emails Blocks
  • 2007/7/4 14:51

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Thanks ewonline. You stopped using the user accounts feature? Do you mean you no longer accept registrations?

I've added pookmail.com to my ever increasing list of unacceptable emails - thank you! Do you suggest any others? So far, I have:
[size=x-small]yahoo.com$|gmail.com$|hotmail.com$|yahoo.ca$|ebay.com$|aol.net$
|msn.com$|yahoo.ie$|yahoo.de$|yahoo.ru$|yahoo.net$|gigantegassoso.info$
|lacanapa.info$|thegrandwazoo.it$|sopracultura.it$|ninsole.it$
|sveverona.it$|sofismusica.it$|misterhyde.it$|singlenet.it$
|poseidonbeach.it$|orienteeringweek.it$|vbgallery.it$
|spegnilatv.it$|nefroar.it$|vhr.it$|pookmail.com$[/size]

I may not get any registrations... but I will re-evaluate the list at a later time. Right now, I want to be picky.

I was planning to add the CAPTCHA but not sure if it's over my head. Will do a search and see if I can manage.

Quote:
ewonline wrote:
I've actually never had any spammer problems while I was using the user accounts feature in XOOPS (stopped 1-2months ago), though I did do those things above. I also blocked many disposable email services like pookmail.com.

If your getting a lot of robots spamming your site, it may be worthwhile to put in a CAPTCHA (anti-robotic image).
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



68
Cuidiu
Re: new users activated by administrator - how to send notification email
  • 2007/7/4 4:44

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Sorry... I did misunderstand. Thanks skenow!
Quote:
skenow wrote:
Click on the link in that email and the notification email will get sent to your users.

If you activate through the administration menu of your site they will not
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



69
Cuidiu
Re: new users activated by administrator - how to send notification email
  • 2007/7/4 3:07

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


I have mine set to admin activation and emails are not automatically sent to the user after activating. This is with both 2.0.16 and 2.2.4. Did I misunderstand?
Quote:

skenow wrote:
Yes - when the accounts are set to admin activation an email is sent to them when you activate.
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]



70
Cuidiu
Re: Wordpress
  • 2007/7/3 5:28

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


Has anyone been successful getting this URL rewrite to work? See Xoopsforge Wordpress link.
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 35 »



Login

Who's Online

199 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 199


more...

Donat-O-Meter

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

Latest GitHub Commits