Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 Getalluser Search URL ID's [SOLVED]
#
Hi! I was building a site on my own and I ran into something I wondered if could be done possible.

The following link is to a main profile (the admin's to be specific)

http://oyerp.jcink.net/index.php?showuser=1

I'm using a custom profile template that I realized doesn't have a button for searching a user's most recent topics or posts, as such, I decided to make my own buttons for those. The last two buttons (the picture of the floppy disk and the document to the right) are searching a user's topic and posts respectively.

I was wondering if there was a way I could apply the

CODE
index.php?act=Search&CODE=getalluser&mid=${id}&type=posts

CODE
index.php?act=Search&CODE=getalluser&mid=${id}&type=topics


Codes to those buttons by making it so that the id number automatically corresponds to the user? I wanted to do the same for the miniprofile as well!

http://oyerp.jcink.net/index.php?showtopic=1&st=0&#entry1

If you hover over the avatar and hover over the glowy chain link icon on the lower right corner, you'll see the same icons (the floppy disk and document) again with the same corresponding links.

I was wondering if i could use connect the getalluser code to these things for example like:
CODE
href="index.php?act=Search&CODE=getalluser&mid=${id}&type=topics">

but mkae it so that the mid=id corresponded with the member that it belonged to. If I can't do it like that, is there a code I could possibly use to achieve the same results?

Thanks!
PM
#
JK I, a coding newb figured out that you have to use a code like this

CODE
Search&CODE=getalluser&mid=<!-- |id| -->


You can close this thanks!
PM
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll