Welcome, Guest. Please Login or Register.
May 23, 2024, 10:13:31 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] SearchNew Mod v.09 « previous next »
Pages: 1 2 [3] 4 5 ... 9 Reply Ignore Print
Author Topic: [Done 1.5.2] SearchNew Mod v.09  (Read 24295 times)
Forge
Noobie
*
Posts: 23


WWW
Re:[DONE] SearchNew Mod (v.06 Update)
« Reply #30 on: July 17, 2002, 01:54:19 PM »
Reply with quote

FAQ: When I click on a search result, why does it open in a different window?
This is by design.  The alternative is that when you click on a result it loads in the same window your search results are shown in.  The SearchNew can be a very intensive process for your MySQL server.  As such you want to execute it as little as possible.  By having the results load in a separate window, I allow users to use the results as an index (so the costly search is executed once).

Despite that, I wrote my SearchNew function to allow for this.  If you read the modfications.txt file that came with it:

Quote_Optional Command Lines_
I included a couple of command lines that you may find helpful.

yourboardlocation/index.php?action=searchnew;samewindow=1

Launched with the samewindow parameter, this will cause the results to
open in the same window when clicked.  Personally I don't like doing it
this way, since hitting the back button takes too long.

So basically if you really want to do this, you should edit the subs.php file (to adjust what the searchnew icon does).

Search for this line in Subs.php:

      $yymenu .= "$menusep<a href=\"$cgi;action=searchnew\">$img[searchnew]</a>";After "action=searchnew" add the code ";samewindow=1"

      $yymenu .= "$menusep<a href=\"$cgi;action=searchnew;samewindow=1\">$img[searchnew]</a>";
Logged
koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #31 on: July 20, 2002, 09:26:05 PM »
Reply with quote

Hmm.. I get this error when I try to install:

2: fopen("index.php", "w") - Permission denied
(/home/petronas/www/endeligmamma/yabbse/Sources/Packages.php ln 350)

 ???
Logged

koldnal
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #32 on: July 20, 2002, 09:27:50 PM »
Reply with quote

Try to CHMOD index.php to 666.
Logged

koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #33 on: July 20, 2002, 09:39:01 PM »
Reply with quote

CHMOD ??? Sorry, I'm new to this..
Logged

koldnal
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #34 on: July 20, 2002, 09:43:01 PM »
Reply with quote

Use a ftp program, go to your forum dir, right click on index.php and look to CHMOD command
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #35 on: July 20, 2002, 09:49:55 PM »
Reply with quote

Okey.. and what do I do there? (remote file permissions)

The options I get: Read, Write, Execute

If I just press OK, nothing happens..


Logged

koldnal
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #36 on: July 20, 2002, 09:54:32 PM »
Reply with quote

Are you on windows and what FTP program are you using and do you have IE6?
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #37 on: July 20, 2002, 09:59:25 PM »
Reply with quote

Windows ME, WS FTP, IE5.50


I have upgraded to IE6 now and when I press OK I get this:

SITE chmod 644 index.php
200 SITE CHMOD command successful.
Now what? I tried to install it again, but I still got the same error.
« Last Edit: July 20, 2002, 10:21:56 PM by koldnal » Logged

koldnal
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #38 on: July 20, 2002, 11:22:01 PM »
Reply with quote

No change it to 666.
Tick all the read and write fields not the execute fields.
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #39 on: July 20, 2002, 11:49:49 PM »
Reply with quote

Okey.. I did that.. and then tried to install again.. but got this error:

2: Unable to create 'english.lng~': Permission denied
(/home/petronas/www/endeligmamma/yabbse/Sources/Packages.php ln 349)
Logged

koldnal
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #40 on: July 21, 2002, 12:50:32 AM »
Reply with quote

As above
CHMOD  it to 666.
Tick all the read and write fields not the execute fields.
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #41 on: July 21, 2002, 10:25:04 AM »
Reply with quote

Okey, with this to?

2: Unable to create 'Sources/Subs.php~': Permission denied
(/home/petronas/www/endeligmamma/yabbse/Sources/Packages.php ln 406)


Could you please tell me how this works? Does it make the files I change to 666 open for everyone or hmm..  ??? Sorry, you must think I'm an idiot or something :-\
Logged

koldnal
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #42 on: July 21, 2002, 10:46:58 AM »
Reply with quote

From the safe install readme

YaBBSE Files (all files in ASCII)

   /yabbse/index.php                      -rw-rw-rw- (*chmod 666)
   /yabbse/Printpage.php                  -rw-rw-rw- (*chmod 666)
   /yabbse/QueryString.php                -rw-rw-rw- (*chmod 666)
   /yabbse/Reminder.php                   -rw-rw-rw- (*chmod 666)
   /yabbse/Settings.php                   -rw-rw-rw- (*chmod 666)
   /yabbse/Settings_bak.php               -rw-rw-rw- (*chmod 666)
   /yabbse/SSI.php                        -rw-rw-rw- (*chmod 666)
   /yabbse/News.php                       -rw-rw-rw- (*chmod 666)
   /yabbse/news_template.php              -rw-rw-rw- (*chmod 666)
   /yabbse/help.php                       -rw-rw-rw- (*chmod 666)
   /yabbse/helpadmin.help                 -rw-rw-rw- (*chmod 666)
   /yabbse/template.php                   -rw-rw-rw- (*chmod 666)
   /yabbse/fader.js                       -rw-rw-rw- (*chmod 666)
   /yabbse/ubbc.js                        -rw-rw-rw- (*chmod 666)
   /yabbse/english.lng                    -rw-rw-rw- (*chmod 666)
   /yabbse/german.lng                     -rw-rw-rw- (*chmod 666)
   /yabbse/yabbinfo.xml                   -rw-rw-rw- (*chmod 666)
   /yabbse/mc.vbs                         -rw-rw-rw- (*chmod 666)
   /yabbse/gpl.txt                        -rw-rw-rw- (*chmod 666)

   /yabbse/attachments/                   drwxrwxrwx (*chmod 777)

   /yabbse/Packages/                      drwxrwxrwx (*chmod 777)
   /yabbse/Packages/index.php             -rw-rw-rw- (*chmod 666)
   /yabbse/Packages/installed.list        -rw-rw-rw- (*chmod 666)
   /yabbse/Packages/server.list           -rw-rw-rw- (*chmod 666)

   /yabbse/Sources/                       drwxrwxrwx (*chmod 777)
   /yabbse/Sources/*.*                    -rw-rw-rw- (*chmod 666)
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
koldnal
Full Member
***
Posts: 129


Erfaring er det navnet folk gir sine feiltrinn.

Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #43 on: July 21, 2002, 01:01:07 PM »
Reply with quote

Oh.. thanks..

I did the installation now, and the page is there and looking good. But the button on the yabb menu is not there.. I though the mod was supose to put it up there  ???
Logged

koldnal
Stud Muffin
Full Member
***
Posts: 120


Oh baby!!

WWW
Re:[DONE] SearchNew Mod (v.07 Update for YABB 1.4)
« Reply #44 on: July 21, 2002, 01:35:10 PM »
Reply with quote

Link to your forum pls  :)
Logged

Thanks to all the YaBBSE team, a great forum :)
OAP clan Forum
Pages: 1 2 [3] 4 5 ... 9 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] SearchNew Mod v.09 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.052 seconds with 20 queries.