vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hack Fix (https://vborg.vbsupport.ru/showthread.php?t=39367)

Carthriller 06-02-2002 11:04 PM

Hack Fix
 
At http://www.asianxo.com I tried the mouseover the search icon under the category, and see this string

<a href="search.php?action=getlatest&forumid=$forum[forumid]">findnow.gif</a>


But I tried using the same string for my icon, and it didn't work(sent me to a blank page). Essentially I want to be able to search the latest posts by a user when an icon is clicked. Does anyone know how to do this, thanks.

Boofo 06-03-2002 12:09 AM

Try this:

Quote:

<a href="search.php?action=getlatest&forumid=$forum[forumid]"><img src="images/findnow.gif" border="0" alt="Find latest posts by $post[username]" align="middle"></a>
and adjust it for the imagesfolder.

Quote:

Originally posted by Carthriller
At http://www.asianxo.com I tried the mouseover the search icon under the category, and see this string

<a href="search.php?action=getlatest&forumid=$forum[forumid]">findnow.gif</a>


But I tried using the same string for my icon, and it didn't work(sent me to a blank page). Essentially I want to be able to search the latest posts by a user when an icon is clicked. Does anyone know how to do this, thanks.


Carthriller 06-03-2002 12:18 AM

Thanks for the fast reply. That didn't work for me either. Sorry, for the confusion, I should have put the <img> tag in there too, but I was just using a link as an example. The query string is what I am trying to get at. When I tried to use that string, I get redirected to a blank page

Boofo 06-03-2002 12:24 AM

The getlatest might be your problem. I never heard of that. Do you want to get all of the posts by the user? I don't know how you would get just the latest. How would you know how far to go back to? I'm new at this too. What I did was give you the way to link to an image. The rest I'm not sure about. :)


All times are GMT. The time now is 12:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00955 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete