PDA

View Full Version : Mini Mods - Useful inline contextual links in postbit and member profile


cheat-master30
12 Aug 2008, 22:38
Needs a lot more stuff, but I have a few neat mods, as partly asked for here:

http://www.vbulletin.com/forum/showthread.php?t=281552

I may also be able to make the edit avatar and profile link icon stuff, but the current stuff is:


Changes post count in postbit to a link to search said member's posts
Changes post count in profile to a link to search said member's posts
Changes blog entry count in profile to a link to see member's blogTemplate Edits:

Postbit:

Find:

<div>
$vbphrase[posts]: $post[posts]
</div>

Replace with:

<div>
$vbphrase[posts]: <a href="search.php?do=finduser&u=$post[userid]">$post[posts]</a>
</div>

memberinfo_block_ministats:

Find:

<dd>$prepared[posts]</dd>

Replace with:

<dd><a href="search.php?do=finduser&u=$prepared[userid]">$prepared[posts]</a></dd>

For Blog Entry search in memberinfo:

blog_member_ministats:

Find:

<dt class="shade">$vbphrase[blog_entries]</dt>
<dd>$prepared[blog_entries]</dd>

Replace with:

<dt class="shade">$vbphrase[blog_entries]</dt>
<dd><a href="blog.php?u=$prepared[userid]">$prepared[blog_entries]</a></dd>
blog.php?u=1


Screens are attached.

cheat-master30
12 Aug 2008, 22:39
Oh, and by the way, the post counts/blog counts with the underline are the said links.

henrikhansen
13 Aug 2008, 08:36
Thanks for this.

cheat-master30
13 Aug 2008, 12:40
No problem.

nirvana43
14 Aug 2008, 15:28
thank you very much man. Installed and rated. ;)

cheat-master30
16 Aug 2008, 00:21
No problem. Hope you find this mod useful.