vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Refresh Sidepanel (https://vborg.vbsupport.ru/showthread.php?t=65972)

Mr. HillBilly 06-07-2004 10:00 PM

Refresh Sidepanel
 
This little hack will allow you to refresh the side panel in the Admincp without refreshing the whole screen.


In Includes/adminfunctions_navpanel.php find:
PHP Code:

<a href=\"#\" onclick=\"read_group_prefs(); return false\">$vbphrase[revert_prefs]</a> 

Below it add:

PHP Code:

            <br />
            <
a href=\"#\" onclick=\"javascript:history.go(0); return false\">Refresh Sidepanel</a> 

Save and upload! :)

Don't forget to click install ;)

nexialys 06-08-2004 06:30 PM

hum... strange , you just have to "save prefs" to do the same... no need of this mod.

Mr. HillBilly 06-08-2004 06:33 PM

Quote:

Originally Posted by nexialys
hum... strange , you just have to "save prefs" to do the same... no need of this mod.


"Save Prefs" Is only used for saving the drop down boxes in their current state.

Mr. HillBilly 06-08-2004 08:52 PM

No comments? :)

bluecat 06-10-2004 02:44 AM

Can't you just right click and select refresh while inside the frame (although, I'm appreciative)?

mtha 06-10-2004 03:24 AM

Quote:

Originally Posted by bluecat
Can't you just right click and select refresh while inside the frame (although, I'm appreciative)?

heheh, someone love to use left click instead of right one. for browsers, the left click for .... refresh is going to refresh the whole page, thats why :D
or someone dont have mouse (or not graphic browsers like lynx) can use tab instead :>

have fun hacking

Chris-FH 06-12-2004 01:35 AM

Refresh the (right) content window is much better in my opinion...

BTW, the code in the first post is false, I think it's a problem with the php-tag... ;-)

In Includes/adminfunctions_navpanel.php find:

Code:

<a href=\"#\" onclick=\"read_group_prefs(); return false\">$vbphrase[revert_prefs]</a>
Below it add:

Code:

<br />
            <a href=\"#\" onclick=\"javascript:history.go(0); return false\">Refresh Sidepanel</a>

The php-tag doesn't display a "\" :rolleyes:

C.


All times are GMT. The time now is 03:19 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.00990 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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