272431
djsckizo
Re: EMERGENCY: security hole of Agenda-X
  • 2004/2/14 9:31

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Well, lucky for me the site mine came from isn't active yet. It was but I shut it down to rebuild it from the ground up. I was actually about to close it down for good but I decided to give it a third (yes third) chance.



272432
djsckizo
Re: EMERGENCY: security hole of Agenda-X
  • 2004/2/14 9:30

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Have you tried any of the other calendar modules? If you use newbb or any of the other forum modules you could always make a forum specificly for the calendar events to be posted in until this gets fixed.



272433
YourHelp
Re: YABB
  • 2004/2/14 9:30

  • YourHelp

  • Friend of XOOPS

  • Posts: 479

  • Since: 2003/6/9 6


Wonderful so it can be done? Would you care to explain how it is to be done



272434
Mikhail
Re: Yahoo_taste theme?
  • 2004/2/14 9:28

  • Mikhail

  • Just can't stay away

  • Posts: 412

  • Since: 2003/1/19


Quote:

shidez wrote:
I saw Yahoo_taste theme at www.xoops-themes.org, but no downalod available there. Anyone knows where to get a copy?

I posted my inquery there, but haven't get answer yet(it's a French site and I don't know any french, except merci.


is here:
http://sourceforge.net/project/showfiles.php?group_id=41586

(http://prdownloads.sf.net/xoops/xoops2-thm_yahoo_taste.zip )



272435
Montag
[NewBB Fix] Search in NewBB
  • 2004/2/14 9:28

  • Montag

  • Just popping in

  • Posts: 9

  • Since: 2004/2/14


In XOOPS 2.0.6, when you do a search using the search script in the NewBB module, the results don't point to the searched posts, but only to the relative topics.

To correct this behaviour, edit /modules/newbb/search.php:
1) Change line 72:
$query 'SELECT u.uid,f.forum_id, p.topic_id, u.uname, p.post_time,t.topic_title,t.topic_views,t.topic_replies,f.forum_name FROM '.$xoopsDB->prefix('bb_posts').' p, '.$xoopsDB->prefix('bb_posts_text').' pt, '.$xoopsDB->prefix('users').' u, '.$xoopsDB->prefix('bb_forums').' f,'.$xoopsDB->prefix('bb_topics').' t';

with:
$query 'SELECT u.uid,f.forum_id, p.topic_id, u.uname, p.post_id,p.post_time,t.topic_title,t.topic_views,t.topic_replies,f.forum_name FROM '.$xoopsDB->prefix('bb_posts').' p, '.$xoopsDB->prefix('bb_posts_text').' pt, '.$xoopsDB->prefix('users').' u, '.$xoopsDB->prefix('bb_forums').' f,'.$xoopsDB->prefix('bb_topics').' t';

2) Change line 152:
$xoopsTpl->append('results', array('forum_name' => $myts->makeTboxData4Show($row['forum_name']), 'forum_id' => $row['forum_id'], 'topic_id' => $row['topic_id'], 'topic_title' => $myts->makeTboxData4Show($row['topic_title']), 'topic_replies' => $row['topic_replies'], 'topic_views' => $row['topic_views'], 'user_id' => $row['uid'], 'user_name' => $myts->makeTboxData4Show($row['uname']), 'post_time' => formatTimestamp($row['post_time'], "m")));

with:
$xoopsTpl->append('results', array('forum_name' => $myts->makeTboxData4Show($row['forum_name']), 'forum_id' => $row['forum_id'], 'topic_id' => $row['topic_id'], 'topic_title' => $myts->makeTboxData4Show($row['topic_title']), 'topic_replies' => $row['topic_replies'], 'topic_views' => $row['topic_views'], 'post_id' => $row['post_id'], 'user_id' => $row['uid'], 'user_name' => $myts->makeTboxData4Show($row['uname']), 'post_time' => formatTimestamp($row['post_time'], "m")));

Then edit /modules/newbb/templates/newbb_searchresults.html and change line 25:
<td class="odd"><a href="viewtopic.php?topic_id=<{$results[i].topic_id}>&forum=<{$results[i].forum_id}>"><{$results[i].topic_title}></a></td>

with:
<td class="odd"><a href="viewtopic.php?post_id=<{$results[i].post_id}>&topic_id=<{$results[i].topic_id}>&forum=<{$results[i].forum_id}>#forumpost<{$results[i].post_id}>"><{$results[i].topic_title}></a></td>




272436
Mikhail
Re: regex
  • 2004/2/14 9:27

  • Mikhail

  • Just can't stay away

  • Posts: 412

  • Since: 2003/1/19


REgular EXpressions, a powerful tool for manipulating text and data... If you don't use them yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage...

With regular expressions, you can save yourself time and aggravation while dealing with documents, mail messages, log files -- you name it -- any type of text or data. For example, regular expressions can play a vital role in constructing a World Wide Web CGI script, which can involve text and data of all sorts...

Regular expressions are not a tool in and of themselves, but are included as part of a larger utility. The classic example is grep. These days, regular expressions can be found everywhere, such as in:

* Scripting languages (including Perl, Tcl, awk, and Python)
* Editors (including Emacs, vi, and Nisus Writer)
* Programming environments (including Delphi and Visual C++)


While many of these tools originated on UNIX, they are now available for a wide variety of platforms, including DOS/Windows and MacOS, so you can use them in your home environment. Additionally, many favorite programming languages offer regular-expression libraries, so you can include support for them in your own programs, and yes, even applets.

There can be certain subtle, but valuable, ways to think when you're using regular expressions, and these can be taught. Jeffrey Friedl has spent years helping people on the Net understand and use regular expressions. In this book he leads you through the steps of knowing exactly how to craft a regular expression to get the job done.



272437
djsckizo
update the meta copyright
  • 2004/2/14 9:26

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Just thought I'd mention that the Meta Copyright still shows 2001-2003 by default in 2.0.6. Shouldn't it be 2001-2004 now?



272438
carnuke
Re: META-XOOPS tag for Googlebot, Yahoo
  • 2004/2/14 9:23

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Quote:
I have a one-liner html page which points to the mentioned folder.


This sounds like a redirect! This could be a problem. Search engines will often ignore redirects because they are often used for spamming. My site in NOT in the root folder either. Just point the search engine to your real url ie.http://yoursite.com/xoops_directory/index.php as your submission address. ie NOT to the redirect file first.

You will need to wait for google to re-index

Hope this helps

Richard



272439
djsckizo
regex
  • 2004/2/14 9:21

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


Easy defintion please. I looked it up already online and the definition I found almost melted my eyes.



272440
djsckizo
Re: Can someone make a forum directly associated with bug FIXES?
  • 2004/2/14 9:20

  • djsckizo

  • Just can't stay away

  • Posts: 401

  • Since: 2003/5/9 8


sounds like a good idea to me







Login

Who's Online

99 user(s) are online (47 user(s) are browsing Support Forums)


Members: 0


Guests: 99


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