Log in

View Full Version : View Your own posts


moonclamp
10-20-2005, 10:00 PM
Not sure if it's been done before, but this simple template modification will add a link to your own posts under the 'quick links' menu.

Sorry but the link title isn't fully phrased, I just can't be bothered with all that malarky.

In your navbar template:

Find:

<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>


Beneath it add:

<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?do=process&exactname=1&searchuser=$bbuserinfo[username]&showposts=1">View Your Posts</a></td></tr></if>

It's really that simple ...

Snake
10-21-2005, 12:26 PM
Thanks, I've installed it. :)

JEdward
10-22-2005, 04:54 PM
Thanks clicks install

piXelatedEmpire
10-23-2005, 08:03 AM
any chance of a screenshot? I'm not entirely sure what this does...

lefthome
10-23-2005, 09:14 AM
Looked good and members liked it but was forced to remove since this, and I have no idea why, clashed with other stuff and caused "last posts" to disappear and a non-searchable search box to appear for non-members on the index page

moonclamp
10-23-2005, 10:12 AM
any chance of a screenshot? I'm not entirely sure what this does...

My VB is not standard so a sreenshot from me would not look right

It adds a new link to the "quick links" menu called "View your posts"

When a user clicks it, a list of all the posts they have ever made will be visible ... It works using the forum search function.

moonclamp
10-23-2005, 10:13 AM
Looked good and members liked it but was forced to remove since this, and I have no idea why, clashed with other stuff and caused "last posts" to disappear and a non-searchable search box to appear for non-members on the index pageI have no idea why that would be ... are you using a standard version of vb 3.5.0?

biggjoe
11-13-2005, 01:17 AM
Sweet hack! Simple and clean! Works great on vb.3.5.1.

Peace!

J.

AWI
12-11-2005, 06:21 AM
Installed on 3.5.2 thanks!

Chris Blount
12-16-2005, 05:51 PM
Installed on 3.5.2 thanks!Same here. Works great!

Warrior
12-17-2005, 05:44 AM
Sweet...

makaiguy
04-11-2006, 04:29 AM
Installed this in 3.0.7 and now in 3.5.4. Was so green before I didn't realize I needed to click the Install button, so I did it now, almost 9 months later.

Thanks. Sweet and simple.

user02934123123
04-12-2006, 05:03 PM
Lovely. Works well. Setup instructions are a bit different now in 3.5.1 (only inasmuch as the default layout of the drop-down lists seems different; the code that needs inserting is identical).

Many thanks.

Chris Blount
08-07-2006, 12:03 PM
Works fine in VB 3.6.