Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » Support Center » vBulletin Support » Moving links from showthread into postbits
Reply
Page 1 of 2 1 2 >

 

  • Thread Tools
Old 08-25-2006, 07:37 PM   #1
AuntClara
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss11
AuntClara is on a distinguished road
Status: Offline Default Moving links from showthread into postbits
I want to add some links from the showthread template into the postbits template but I can't make them work.

These are the links:
Printable Version
Email this Page
Subscribe to Article
Previous Article
Next Article

Please notice that copying and pasting from showthread into postbits render these links useless.

I will really appreciate any prompt help.

Thanks
Reply With Quote
Old 08-25-2006, 08:02 PM   #2
Idan
Coder
Idan's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss1484
Location: Israel
Age: 29
Idan is on a distinguished road
Status: Offline Default
Are you aware that everything inside postbit is shown for each post/reply on thread ?
Regards,
Idan.

* Support will only be given via forums !
* If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here
Reply With Quote
Old 08-25-2006, 08:45 PM   #3
AuntClara
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss11
AuntClara is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by Idan
Are you aware that everything inside postbit is shown for each post/reply on thread ?
Yes, I have added some conditionals so it only appears in the fist post in the thread.
Reply With Quote
Old 08-25-2006, 08:51 PM   #4
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
Quote:
Originally Posted by AuntClara
These are the links:
Printable Version
Email this Page
Subscribe to Article
Previous Article
Next Article
I believe the last time I spoke to Wayne from vB about something like this he mentioned that the server would need to be altered to get this to work. In other words, a special hack would be needed. You might get by with getting one or two to work, but generally you'll need more than just pasting the code into the postbit.
Reply With Quote
Old 08-25-2006, 08:55 PM   #5
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
what is the full code instead of just the displyed text?
Reply With Quote
Old 08-25-2006, 09:06 PM   #6
AuntClara
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss11
AuntClara is on a distinguished road
Status: Offline Default
Quote:
Originally Posted by rogersnm
what is the full code instead of just the displyed text?
PHP Code:
<a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a> 
PHP Code:
<a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a> 

PHP Code:
<if condition="$show['subscribed']">
            <
a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
        <else />
            <
a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
        </if> 
PHP Code:
<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest">$vbphrase[prev_thread]</a> 
PHP Code:
<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest">$vbphrase[next_thread]</a> 
Reply With Quote
Old 08-25-2006, 09:11 PM   #7
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Try using this code:
PHP Code:
<a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t={$thread[threadid]}" rel="nofollow">$vbphrase[email_this_page]</a>

<
a href="printthread.php?$session[sessionurl]t={$thread[threadid]}" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a>


<if 
condition="$show['subscribed']">
            <
a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t={$thread[threadid]}" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
        <else />
            <
a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t={$thread[threadid]}" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
        </if>

<
a href="showthread.php?$session[sessionurl]t={$thread[threadid]}&amp;goto=nextoldest">$vbphrase[prev_thread]</a>
  
<
a href="showthread.php?$session[sessionurl]t={$thread[threadid]}&amp;goto=nextnewest">$vbphrase[next_thread]</a> 
ps. why would the server need to be altered to display some links with the threadid variable in them?

ps#2. made a mini block here: http://www.vbhackers.com/showthread....7283#post37283

Last edited by Nick R; 08-25-2006 at 09:32 PM.
Reply With Quote
Old 08-25-2006, 09:26 PM   #8
AuntClara
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss11
AuntClara is on a distinguished road
Status: Offline Default
It worked! Thanks roger, I've been tweaking this for hours and hours.

I would marry you if it wasn't becasue I am married already.

You can see the results here

Last edited by AuntClara; 08-26-2006 at 08:02 AM.
Reply With Quote
Old 08-25-2006, 09:27 PM   #9
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 14/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
looks good
Reply With Quote
Old 08-26-2006, 09:53 PM   #10
AuntClara
vB Newbie

Activity Longevity
0/20 13/20
Today Posts
0/3 sssssss11
AuntClara is on a distinguished road
Status: Offline Default
I am back again.

I want to include a search box in the postbit to search within an specific forum. It worked perfectly. But now I am adding it to another section of my site where I need it to search within the parent forum and subforums.

This is what I used:
PHP Code:
<table class="tborder" id="post$post[postid]" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">
          <
tr>
        <
td class="vbmenu_control" align="center" height="7">$vbphrase[find_recipe]</td>
    </
tr>
    <
tr>
        <
td class="vbmenu_option" align="left">
        <
form action="search.php" method="post"><table>
        <
tr>
        <
td class="vbmenu_option" align="center">
    <if 
condition="$post[postcount] == 1">
        <
input type="hidden" name="s" value="$session[sessionhash]" />
            <
input type="hidden" name="do" value="process" />
            <
input type="hidden" name="forumchoice[]" value="$forum[forumid]" />
            <
input type="hidden" name="childforums" value="1" />
            <
input type="text" class="bginput" name="query" size="12" /> <input type="submit" value="Go" style="font-family: Verdana; font-size: 8pt"><br />
        </if>
    </
tr>
    </
table> 
I worked great in this case.

Now I need it to work in this case where I want it to search within the parent forum and child forums within. The parent forum id =9

The same goes for this code:
PHP Code:
<a href="./forumdisplay.php?f=$forum[forumid]">$vbphrase[view_all_recipes]</a> 

Thanks in advance for your help.

BTW, is there a premium membership? I tried to access a thread and couldn't. If so I'll become a paying member, I get quick answers here.
Reply With Quote

Reply
Page 1 of 2 1 2 >

« please anyone help me!! | Looking for a hack using by vbhackers »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Links Directory System Mr.D vBulletin Modification Requests 2 06-21-2006 08:43 AM
Reputation Box above postbits on threads (showthread)? heyo vBulletin Modification Requests 2 09-25-2005 10:19 PM
Moving center "hack" and moving right hack! Homie vBulletin Modification Requests 12 07-24-2005 03:43 PM
"Automatically protect links with CODE" newbie05 vBulletin Modification Requests 0 11-29-2004 10:39 PM



All times are GMT. The time now is 06:19 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!