Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2009, 04:56 PM
vidan vidan is offline
 
Join Date: Feb 2008
Location: texas
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default lynne help on prefix

Hi Lynne, i need some help *again* regarding prefix.

i know $prefix_options will display all prefix in forumdisplay
but can i make it clickable?

ex: $prefix_options = prefixa prefixb prefixc prefixb

can i make every prefix on forumdisplay when it click display all prefix in prefix$

i know modification, and i search through vb.com and vb.org but i want to have one clickable not dropdown

by looking on this modification

PHP Code:
<form action="forumdisplay.php" method="get">
<
input type="hidden" name="s" value="$session[sessionhash]/>
<
input type="hidden" name="f" value="$forumid/>
<
input type="hidden" name="page" value="$pagenumber/>
<
input type="hidden" name="pp" value="$perpage/>

<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="thead"><phrase 1="$limitlower2="$limitupper3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
</
tr>
 <
tr valign="top">
    <
td class="alt1">
        <
table cellpadding="3" cellspacing="0" border="0" align="center">
        <
tr>
            <if 
condition="$prefix_options">
            <
td><select name="prefixid" id="sel_prefixid">
                    <
option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option>
                    <
option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option>
                    
$prefix_options
                
</select></td>
            </if> 
it is dropdown, can i display all but clickable not dropdown? prefixa prefixb prefixc
Reply With Quote
  #2  
Old 04-02-2009, 05:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a clickable one in the mods area. It may be by Milad? I'm not sure. But I know there is one. You click on the prefix in front of the thread, and all threads with that prefix appear. If you need a list like you wrote, you'll have to modify that mod or write your own.
Reply With Quote
  #3  
Old 04-02-2009, 06:01 PM
vidan vidan is offline
 
Join Date: Feb 2008
Location: texas
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for fast reply, yes i know milad made one, but its under forumdisplay, i thought that its only template change right? can you help me modify this?
thanks Lynne
Reply With Quote
  #4  
Old 04-02-2009, 07:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought you wanted it for forumdisplay? I would not use that one if all you want is for users to click a link to get all prefixes of that type. You don't need a form for that. You jsut need to add to the end of the forum link - http://yoursite.com/forumdisplay.php?f=x&prefixid=prefixname Change the bold variables to fix your forum and prefixname.
Reply With Quote
  #5  
Old 04-02-2009, 08:37 PM
vidan vidan is offline
 
Join Date: Feb 2008
Location: texas
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nah i want this kind of prefix, above newtopic, and have view all
just like this, $prefix_options will display same like this, but not clickable, only show prefix but not click able, this one is clickable
thanks so much Lynne
Attached Images
File Type: jpg testa.jpg (26.9 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:49 PM.


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.03916 seconds
  • Memory Usage 2,231KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete