vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - h0lyVB presents My PageRank / [PostBit] (https://vborg.vbsupport.ru/showthread.php?t=171265)

dreads 02-22-2008 10:00 PM

h0lyVB presents My PageRank / [PostBit]
 
Note: I put this under miscellaneous hacks.. because its a random hack lol

This is a must install for some webmaster forums :D

The MyPageRank mod is a mod that allows users to place their website of choice inside their postfield and then it will display their sites pagerank inside a small image.

Example of PageRank Mod

Now the mod is very simple to install
Time : 1 min max

Lets start -> First go to your AdminCp then to your postbit
Then Single line and fill in
Code:

Title => MyPageRank
Description => Shows your pagerank inside posts
Default Value => empty
Max length of allowed user input => 32
Field Lenght => 25
Display Order => put something like 10 or 15
Field Required => No
Field Editable by User => Yes
Private Field => No the field is public
Field Searchable on Members List => No
Show on Members List => Yes
Regular Expression => empty

Once you have finished, go to your template modifications and open the postbit or/and postbit_legacy

Next Find this code
Code:

<if condition="$post[icqicon] or $post[aimicon] or $post[msnicon] or $post[yahooicon] or

Then place this codeABOVE IT

Code:


<if condition="$post[fieldXX]">
<div class="info"> My Site is
<a href="$post[fieldXX]"><img src="http://pr.blogflux.com/prx.php?s=$post[fieldXX]" border="0"/></a></div>
</if>

Finally change $post[fieldXX] to $post[Field(Fieldnumber)] *Remember to do it 3 times



*Other options such as a no follow tag are easy to add but if you want it to redirect and other stuff please visit the support thread
Now if you want more options or images or need support for this mod
-> Official My PageRank Support Thread

dreads 02-23-2008 05:03 PM

Reserved
:D

iogames 02-23-2008 05:25 PM

screenshot plz:rolleyes:

dreads 02-23-2008 05:42 PM

sure hold up :D
Edit:

Kk there is a screenshot of the mod
its above Magic Board Mod.
and below i think itrader


All times are GMT. The time now is 10:42 AM.

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.00996 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete