1
spiff
Re: Xoops / Newsgroups setup - almost got it
  • 2005/9/20 16:02

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


(Old thread, I know...)

Has there been an update on this?

My XOOPS site, testdriven.com, places nntp content into forums using a backend script (using evil procmail). It does so by processing incoming mail from the newsgroup, which is only partially satisfactory, especially as far as threading is concerned.

A module that would tap into NNTP directly would indeed be a good solution; I looked at the Web-news module, but it doesn't seem to be available now.

Thanks,
Eric



2
spiff
Re: Getting my hacks and database back?
  • 2005/6/21 15:09

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Just now faced the same issue.

Made a local copy of a 2.0.9.2 site on my laptop (database+files). Remote site has Apache 1.3.33/PHP 4.3.9/MySQL 3.23.49, local same except Apache 2.0.52. PCRE versions are also identical (4.5). Zend peaks at 1.3.0 in both locations.

As indicated earlier here, changing the line:
'errfile' => preg_replace("|^" XOOPS_ROOT_PATH "/|"''$errFile),

to:
'errfile' => preg_replace("|^" preg_quote(XOOPS_ROOT_PATH) . "/|"''$errFile),

did the trick for me.



3
spiff
Re: Google Web Accelerator: is it an issue with Xoops?
  • 2005/5/8 15:43

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Not quite.

Google has an algorithm that tries to "sense" what you may be likely to click on, and prefetches that:

Quote:
Prefetching material [is] in part, determined by an algorithm developed at Google that looks at mouse movements and aggregates traffic to sites to try to determine what to prefetch

(Source: Search Engine Watch)

Quote:
I'm watching my local proxy's logs and I'm seeing a request every time I mouse over a link.

(Source: SlashDot)

LINK REL="PREFETCH" tags are automatically prefetched, as mentioned on GWA's Webmaster FAQ page, but GWA does more than just prefetching these tags.



4
spiff
Re: Google Web Accelerator: is it an issue with Xoops?
  • 2005/5/7 21:18

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Thank you Ackbarr, the hack is definitely worth considering. I've contacted GIJoe for some extra info.



5
spiff
Google Web Accelerator: is it an issue with Xoops?
  • 2005/5/7 15:29

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Hello all,

There's been a certain buzz lately about GWA accessing all pages for prefetch, and peeking into links it shouldn't link to. The threat may be overstated, but it doesn't hurt being vigilant.

So, could GWA mess up a XOOPS site?

GWA basically works like a spider, prefetching all links present on a page. If a XOOPS administrator is logged in with GWA turned on, Google will try to prefetch all links (including "delete account" buttons, etc.).

Is 2.0.10 immune to this kind of spidering?

As an aside, will GIJoe's Protector module automatically shun those IPs (range 72.14.192.0-255) to deny GWA "autoclicks" or should we enter the range in the Protect center?

Thanks,
Eric

References:
SlashDot
How to show GWA the door in Rails
GWA: Not so fast



6
spiff
Re: Error: Name is reserved...
  • 2005/4/26 23:42

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


If this is valid regex (and I have no reason to believe the XOOPS team have implemented their own custom regex), the caret indicates the start of a line; omitting it simply means I also want to ban words like 'TheOneAndOnlyModerator', and not just words beginning with 'moderat'.

Thanks for the input. I was only thinking of words that would induce confusion as to the status of the user, but offensive language obviously qualifies.



7
spiff
Re: User names to block
  • 2005/4/26 23:12

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Reviving an old thread to try to get some ideas for user names to block.

I just added "editor" and declensions of "moderator" to the list, and would like to hear of some other words that could cause confusion.
Quote:
webmaster|^xoops|^admin|editor|moderat

Do I need to put in a full regex for the last one to work properly, e.g. '\w*moderat\w*', or will 'moderat' match anything containing those letters?

Any other words you may have found useful to shun away?

Thanks.



8
spiff
Re: javascript in admin head tags
  • 2005/3/26 20:27

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Quote:
it works perfectly! included 2 javascripts and a stylesheet with no probs.

Yea!



9
spiff
Re: javascript in admin head tags
  • 2005/3/26 15:51

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


Whaddya mean "if it really works"? I don't post code that ain't tested .

I got it to work on a XOOPS site on my laptop before submitting it here. Let us know how it goes, but there's no reason it shouldn't do the trick (unless you have conflicting <head> tags).



10
spiff
Re: javascript in admin head tags
  • 2005/3/26 1:35

  • spiff

  • Just popping in

  • Posts: 47

  • Since: 2003/4/16


I've just been hit by the obvious...

All that's needed is to set an output buffer, and then insert the script where appropriate!

So, for the subject dealt with here, first set up a function to insert the script (that's a barebone version, you can make it more fancy):
function insert_javascript($buffer) {
  
$jstags '<script src="'.XOOPS_URL.'/modules/mycoolmodule/admin/file.js" type="text/javascript" language="javascript1.2">
</script>
'
;
  return 
str_replace('</head>',"$jstags</head>",$buffer);
}

Then wrap up the header and footer, like so:
ob_start('insert_javascript');
xoops_cp_header();
// html output goes here
xoops_cp_footer();
ob_end_flush();




TopTop
(1) 2 3 4 5 »



Login

Who's Online

246 user(s) are online (164 user(s) are browsing Support Forums)


Members: 0


Guests: 246


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