We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ ! ] Search page for name
Topic Started: Jul 5 2013, 09:33 AM (456 Views)
x DamnLol
Member
[ *  * ]
Basically, I'm looking for a script that has something like this:


Posted Image

but open the search will look on a google document, and if the name exists (or the letters result in a find) it will come back with the results (basically Ctrl+F for google document, without having to open the document, as i dont want to disclose the actual link of the document to the people that need to search for it)

Im not sure if the code exists, i looked but failed :(
Offline Profile Goto Top
 
x DamnLol
Member
[ *  * ]
bump
Offline Profile Goto Top
 
x DamnLol
Member
[ *  * ]
nobody :(
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
I'm a bit confused, particularly with the Google Document stuff. You're basically wanting a username search for your board where a user can search a username and the results for that username search will come up, correct?
Offline Profile Goto Top
 
x DamnLol
Member
[ *  * ]
Yes sir
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Put this where you want the member search to appear:
Code: HTML
 
<form id="member_search" method="get" action="">
<table id=
"member_list_full" style="margin: 10px 0">
<thead>
<tr>
<th>
Member Search
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="c_head">
Search by username:
<select name="search_type">
<option value="start">
Name starts with
</option>
<option value="contains">
Name contains
</option>
</select>
<input type="text" value="" name="name" size="25" />
</td>
</tr>
</tbody>
</table>
</form>
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
//<![CDATA[
$('#member_search').attr('action', main_url + 'members/');

if (location.href.indexOf('/members/') !== -1) {
$('#member_search').hide();
}
//]]>
</script>
Offline Profile Goto Top
 
x DamnLol
Member
[ *  * ]
thats basically what i want, but is there a way to get the search results from another page? (a google doc page to be exact)
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
You're asking for data from one domain to be generated from another domain. This is where cross-site scripting, iFrame's and JSONP usually start coming into play. I'm not very familiar with any of these methods, but I would deem it impractical because ZetaBoards does not provide much support in this area of development. The search I posted above is primarily the work of HTML because the server-side end of ZetaBoards stores this information. All it does is replicates the default member search feature on the member list.
Offline Profile Goto Top
 
Moonface
Member Avatar


This request was deemed impractical by our staff. This could mean that the feature you have requested is impossible to write, requires PHP and/or hosting, or requires too many AJAX requests. If you have any questions about why this request is not practical, feel free to contact Moonface .
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic