Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 09-23-2009, 03:19 PM
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne, it looks so good the other one. So i will keep it. Thank you so very much.


Will the one you have posted there show up next to the other one?

--------------- Added [DATE]1253722843[/DATE] at [TIME]1253722843[/TIME] ---------------

Or do you have the code to the same button, that shows me the New Posts/New Threads page?
Reply With Quote
  #12  
Old 09-23-2009, 03:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can put it in the same table if you want:
HTML Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
        <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
        <td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a></td>
        <td class="smallfont"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
</tr>
</table>
That puts it last. Or you could move the <td> to put it first - whichever you like. You may also want to play with the alignment in the columns (align="left"), or not, it's up to you.
Reply With Quote
  #13  
Old 09-23-2009, 03:34 PM
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi again.

Are that code that you put there for both buttons? Yes, i am "blond". Sorry. :lol:

If i put in that i have to remove the other one? otherwise it will be dobbel?

:hug:

--------------- Added [DATE]1253723934[/DATE] at [TIME]1253723934[/TIME] ---------------

I tryed to do that and it shows ut, but no button, perhaps i have to add a button to images. Do ypu know which folder?

--------------- Added [DATE]1253724029[/DATE] at [TIME]1253724029[/TIME] ---------------

And if, what shall i call the button?

--------------- Added [DATE]1253724825[/DATE] at [TIME]1253724825[/TIME] ---------------

I have tryed to use: getnew.gif and i have tryed search.gif..

Trying to sort out in your code what to use.

--------------- Added [DATE]1253724949[/DATE] at [TIME]1253724949[/TIME] ---------------

Quote:
Originally Posted by hyppa View Post
Hi again.

Are that code that you put there for both buttons? Yes, i am "blond". Sorry. :lol:

If i put in that i have to remove the other one? otherwise it will be dobbel?

:hug:

--------------- Added 23 Sep 2009 at 18:38 ---------------

I tryed to do that and it shows ut, but no button, perhaps i have to add a button to images. Do ypu know which folder?

--------------- Added 23 Sep 2009 at 18:40 ---------------

And if, what shall i call the button?

--------------- Added 23 Sep 2009 at 18:53 ---------------

I have tryed to use: getnew.gif and i have tryed search.gif..

Trying to sort out in your code what to use and i think it is missing the image code for the button?, pst: i have the button here. .
.....

--------------- Added [DATE]1253727244[/DATE] at [TIME]1253727244[/TIME] ---------------

Hope you can help me with the imagecode.

--------------- Added [DATE]1253798488[/DATE] at [TIME]1253798488[/TIME] ---------------

I have tryed to fix a button code my self, but .
Reply With Quote
  #14  
Old 09-25-2009, 07:43 AM
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hyppa View Post
How can i get a button saying: New posts, or new threads above quickreplay on every end of the thread i am viewing?






Lynn has benn an angel and supplied me with this code, but the show new thread does not show up as a button, just a frase.


Can anyone help me with the code for a button? Last line. Attached: the image for it.


<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a></td>
<td class="smallfont"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
</tr>
</table>
Reply With Quote
  #15  
Old 09-25-2009, 11:42 AM
hyppa's Avatar
hyppa hyppa is offline
 
Join Date: Dec 2007
Location: Sandnes, Norway
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the code for a button:


<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px">
<tr valign="top">
<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
<td class="smallfont"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a></td>
<td class="smallfont" align="$stylevar[left]">
<a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img src="$stylevar[imgdir_button]/nyeinnlegg.gif" alt="$vbphrase[reply]" border="0" /></a>
</td>

</tr>
</table>



problem solved.
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:22 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.15982 seconds
  • Memory Usage 2,233KB
  • Queries Executed 14 (?)
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_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete