vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   SR Away/Status Hack 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=113626)

NR Fatal 04-21-2006 01:24 AM

your 1st image is what I'm referring to.
anyway to change the text "away/status" to something else? Like,
Currrent game/project?
considering you can change the status name and the message that'd be somethin l'd like to do.
:-) Nice hack!

Gio~Logist 04-21-2006 01:26 AM

Quote:

Originally Posted by NR Fatal
your 1st image is what I'm referring to.
anyway to change the text "away/status" to something else? Like,
Currrent game/project?
considering you can change the status name and the message that'd be somethin l'd like to do.
:-) Nice hack!

Thank you, and yes you can :p

Simply edit the following phrases:
sr_away_status
sr_away_awaystatus
sr_away_message

Also, do not forget to click install. Support will not be given to those who don't (i just realized you didn't).

NR Fatal 04-21-2006 01:47 AM

hm.. can't find
PHP Code:

$vbphrase[posts]: $post[posts] <br

in postbit.

Gio~Logist 04-21-2006 01:51 AM

Quote:

Originally Posted by NR Fatal
hm.. can't find
PHP Code:

$vbphrase[posts]: $post[posts] <br

in postbit.

Your template must have been customized. Try just searching for $vbphrase[posts]: $post[posts] and then look for a <br> or a </div> next to it.

Kihon Kata 04-21-2006 01:52 AM

Quote:

Originally Posted by gio~logist
Thank you, and yes you can :p

Simply edit the following phrases:
sr_away_status
sr_away_awaystatus
sr_away_message

Also, do not forget to click install. Support will not be given to those who don't (i just realized you didn't).

Hi Gio! Nice hack! I am installing it now. One question, in the postbit, when they don't have a status selected, is there a way to NOT show the line "Status: None" at all? Leaving the complete line blank if they don't select any status?

NR Fatal 04-21-2006 01:52 AM

found this

PHP Code:

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


Gio~Logist 04-21-2006 01:55 AM

Quote:

Originally Posted by Kihon Kata
Hi Gio! Nice hack! I am installing it now. One question, in the postbit, when they don't have a status selected, is there a way to NOT show the line "Status: None" at all? Leaving the complete line blank if they don't select any status?

Ad an <if condition="$post[sr_away_status] != 'none'"> before the code that you need to add in postbit. And an </if> after.

Gio~Logist 04-21-2006 01:56 AM

Quote:

Originally Posted by NR Fatal
found this

PHP Code:

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


Then add it after the </div> :p

Kihon Kata 04-21-2006 01:59 AM

Quote:

Originally Posted by gio~logist
Ad an <if condition="$post[sr_away_status] != 'none'"> before the code that you need to add in postbit. And an </if> after.

w00t! that worked like a charm! Installed!

NR Fatal 04-21-2006 02:01 AM

ok got that but now when I go to change the Member info template and edit I get this error. know why?
Not Acceptable
An appropriate representation of the requested resource /admincp/template.php could not be found on this server.


All times are GMT. The time now is 07:37 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.01200 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete