www.uburst.com www.uburst.com

""Click HERE to view your listing shows wrong page.""

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Modify uDirectory Scripts
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
""Click HERE to view your listing shows wrong page.""
Posted by Frank on Apr-17-01 at 02:39 PM (EST)
When someone adds a listing the results pages says "Click HERE to view your listing." Unless the listing comes up on the first page in the category the listing is not shown.

Can this be changed to search for the listing so that the listing will come up as a search result? If so, I'd like to have hack, if this issue has not already been addressed.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Click HERE to view your listing..., Bill Weiner, Apr-18-01, (1)
RE: Click HERE to view your listing..., Bill Weiner, Apr-20-01, (2)
Thanks Bill, Frank, Apr-22-01, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Click HERE to view your listing shows wrong page."
Posted by Bill Weiner on Apr-18-01 at 06:41 AM (EST)
That would problably require modifying the "display_thankyou" subroutine. I'll look at it later today and see what I can come up with.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: Click HERE to view your listing shows wrong page."
Posted by Bill Weiner on Apr-20-01 at 06:31 AM (EST)
I took a look at the "display_thankyou" subroutine and I believe this would be the easiest way to modify that subroutine such that a search for the new/modified listing is performed:

STEP 1: Make a backup of your current udirectory.pl script... just in case.

STEP 2: Open you udirectory.pl script with any text editor such as WordPad.

STEP 3: Do search on the following line:

sub display_thankyou

(This will get you to the start of the relevant subroutine).

STEP 4: About 21 lines into that subroutine, you will see a line with the following text in it:

$gHtml_url . $link_page . "\#" . $main_link

STEP 5: Replace that text (not the whole line - just the above text), with the following text:

"$script_url\?command=search\&search_field=KEY\&search_words=$m_field\&category_file=$cat_file"

(yes, put double-quotes around it)

STEP 6: Save the file (as TEXT if you editor asks)... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "Thanks Bill"
Posted by Frank on Apr-22-01 at 01:41 PM (EST)
It works like a charm.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.