vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   I want to remove... (https://vborg.vbsupport.ru/showthread.php?t=153839)

EvilKitty 07-30-2007 10:15 PM

I want to remove...
 
I have my postbit set to horizontal scrolling, and i want the images to scroll, but not the '%GAME% Champ!' text - i want to completely remove the text.

I'm wading through the 'ibProArcade: Crowns in Postbit' php, but its kind of too messy for me to figure out the proper instance for that.

Help?

Digital Jedi 07-30-2007 11:24 PM

I've been considering doing something with an iframe and/or my own marquee code in tandem with the thumbnails display. I'm going to move on with the other customizations I need to make for now, but when I come back to this I'll let you know what I come up with.

What document are you wading through?

EvilKitty 07-30-2007 11:26 PM

Quote:

Originally Posted by Digital Jedi (Post 1305780)
I've been considering doing something with an iframe and/or my own marquee code in tandem with the thumbnails display. I'm going to move on with the other customizations I need to make for now, but when I come back to this I'll let you know what I come up with.

What document are you wading through?

ibProArcade: Crowns in Postbit in the plugin manager.

Its the only thing i've found to have an effect on it, since removing the [champtext] in the postbit and postbit legacy templates dont seem to do anything.

Digital Jedi 07-31-2007 12:19 AM

Quote:

Originally Posted by EvilKitty (Post 1305782)
ibProArcade: Crowns in Postbit in the plugin manager.

Its the only thing i've found to have an effect on it, since removing the [champtext] in the postbit and postbit legacy templates dont seem to do anything.

Yeah, the [crown] displays the thumb and the text from what I can tell. I think the [champtext] is for tournaments won.

Wow. I didn't even think of looking in the plugin manager. I'm an idiot. :p

EvilKitty 07-31-2007 12:30 AM

Quote:

Originally Posted by Digital Jedi (Post 1305812)
Yeah, the [crown] displays the thumb and the text from what I can tell. I think the [champtext] is for tournaments won.

Wow. I didn't even think of looking in the plugin manager. I'm an idiot. :p

Well then, the question becomes where do i go about editing the the [crown] content.

Digital Jedi 07-31-2007 12:33 AM

Quote:

Originally Posted by EvilKitty (Post 1305820)
Well then, the question becomes where do i go about editing the the [crown] content.

I think I'm on to it. Unless someone posts before I figure it out, I'll be sure to post when I look it over.

Hrm, I guess I'm not moving on to the other customizations. =/

EvilKitty 07-31-2007 12:36 AM

Haha, sorry to drag you away from those and onto these. :p

stangger5 07-31-2007 01:28 AM

If you want scrolling but not the '%GAME% Champ!'

Try this..

Plugin Manager >> ibProArcade: Crowns in Postbit

Find this,
Code:

$crowns .=$this_game[gtitle]."  Champion!</a> " . $crown_end;
Change to,
Code:

$crowns .= "</a> ";

Digital Jedi 07-31-2007 02:02 AM

Quote:

Originally Posted by stangger5 (Post 1305839)
If you want scrolling but not the '%GAME% Champ!'

Try this..

Plugin Manager >> ibProArcade: Crowns in Postbit

Find this,
Code:

$crowns .=$this_game[gtitle]."  Champion!</a> " . $crown_end;
Change to,
Code:

$crowns .= "</a> ";

Dude, where were you, like, thirty minutes ago? LOL This much simpler.

I managed to finagle something, but no where near as simple. Obviously, I like yours better.

I edited this:

PHP Code:

                    case 3
                        
$crowns ''
                        break; 
                } 

to this

PHP Code:

                    case 3
                        
$crowns '<marquee width="175" height="20" scrollamount="1">'
                        break; 

and took out the <br /> in this

PHP Code:

foreach ($champs["$post[userid]"] AS $this_game)
    {
     if (
$crown['type'] == 3)
     {
      if (
$counter == 5)
      { 
       
$counter 0$crowns.= "<br />";
      } 

I guess mine wasn't that big a deal, but with mine I had to leave the Postbit Display Style set to Icons Only. I didn't particularly care for that. Thanks greatly.

And if you want to adjust the speed, direction or height/width of the marquee, just go to Case 1 or Case 2 and edit the <marquee> tags accordingly:

PHP Code:

                    case 1
                        
$crowns '<marquee width="120" scrollamount="3">'
                        break; 
                    case 
2
                        
$crowns '<marquee width="175" name="crownscroll" scrollamount="1" direction="up" height="20">'
                        break; 

</SPAN>

EvilKitty 07-31-2007 02:51 AM

Thanks so much for the code - but my question continues.

If someone only has one high score, it obviously doesnt scroll, so the image is still accompanied by the text in that instance.

More help?

Also, lets say i want the scrolling images to be larger then the 20x20 they are currently... which piece of code should i edit?


All times are GMT. The time now is 07:03 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.01055 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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