91
ewonline
Re: youtube F**KING SUCKS!
  • 2006/10/27 4:30

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Its obvious that another site will take the place of youtube.

I'd say just be patient and wait for it, or heck, start it yourself.
Resized Image



92
ewonline
Re: FTP Client?
  • 2006/10/27 0:33

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


FlashFXP, not free, but works well for me.
Resized Image



93
ewonline
Re: SEO URLs for News Module
  • 2006/10/24 2:45

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


I'll release this once I upgrade my site to XOOPS 2.0.15 and can confirm that it works with that.

Note, if you want to try it (and for those who PM'ed me), all the code thats really needed is posted above. Some knowledge of PHP is needed.
Resized Image



94
ewonline
Re: SEO URLs for News Module
  • 2006/10/5 22:15

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Its actually fairly easy. If you know some php, its very easy.

Create a folder called news
.htaccess
RewriteEngine on
RewriteRule 
^([0-9]*)/ /path/to/news/module/index.php?start=$[L]
RewriteRule ^([0-9]*)-(.*)/ /path/to/article.php?storyid=$[L]


So, thats the mod rewrite rules. That will help you out if you dont understand mod rewrite.
Now, like I said, I'm not going to immediately release the php code I use due to security concerns, but I will give you the code that will put you half way there.

$story['title'] = "<a href="".XOOPS_URL."/news/".$sarray[$i]->storyid()."-".$storytitle."/">".$sarray[$i]->title()."</a>";

$storytitle strtolower($sarray[$i]->title());
$storytitle str_replace(" ""-"$storytitle);
$storytitle ereg_replace("[^[:alnum:]-]"""$storytitle);


If you don't know php, dont try this.
Resized Image



95
ewonline
Re: SEO URLs for News Module
  • 2006/10/5 21:44

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


I'm hesitant to release the code at this time due to security concerns, but I will definitely do so in the future after I get it all settled.
Resized Image



96
ewonline
SEO URLs for News Module
  • 2006/10/5 4:48

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


I managed to hack up the XOOPS news module so I have SEO URLs
Like:
http://www.ewonline.net/news/688-october-calendar-wallpapers/

Anyhow, I was wondering if anyone knows whether or not long file or in this case directory names are bad for search engines?

Also, anyone here good with mod_rewrite?
How would I map the index file in /news/ to /modules/news/index.php?
Resized Image



97
ewonline
Re: Double Checking Email on Reg
  • 2005/4/11 23:09

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Anyone?



98
ewonline
Double Checking Email on Reg
  • 2005/4/10 6:43

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


I was wondering if its possible to make it so theres two email fields when a person registers in order to ensure they entered their correct email. AKA double check.

If it is, could someone send me the code I have to change.
Thanks in advance



99
ewonline
Disable HTTP Referer Check?
  • 2005/4/3 19:41

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


Quote:
If you are checking the HTTP REFERER (which XOOPS does by default) you are quite safe from the malicious attacks where your site admins are tricked into performing actions on your site by submitting forms on another site. However, checking the HTTP REFERER is not entirely friendly towards your users, who may have to configure their firewall for your site. The token system makes your site less vulnerable should you decide to disable the referer checking.


So, my question is, how do you disable referer checking?
Because I know that when you send a PM, it check referers, and I want that disabled since some users may have firewalls to block referers.



100
ewonline
Re: PHP April Fools Hack??
  • 2005/4/1 22:13

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


If you turn expose_php = off in the php.ini, it wont show.
The default is on, so it shows, just like you can attach a little string to show the phpinfo without actually calling phpinfo(); in a php file.




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 16 »



Login

Who's Online

146 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

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

Latest GitHub Commits