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)
-   -   What style are we all using? (https://vborg.vbsupport.ru/showthread.php?t=63068)

Mike_XBLW 04-01-2004 10:02 PM

OK...for everyone who is having the "Style:" problem...here's the fix...

In the style manager...display order, make sure they don't all have the same number...actually number them 1, 2, 3, 4, etc....

I had all of mine set to 1, but when I changed it, magically, it started working

Gary King 04-01-2004 11:33 PM

Quote:

Originally Posted by Mike_XBLW
OK...for everyone who is having the "Style:" problem...here's the fix...

In the style manager...display order, make sure they don't all have the same number...actually number them 1, 2, 3, 4, etc....

I had all of mine set to 1, but when I changed it, magically, it started working

Ah yes, thanks for this :)

Vivi Ornitier 04-02-2004 06:16 PM

very nice, lol, what an easy fix too. Seems like you coded it very well, just a small little thing t hat you diddn't expect your fellow hack users to do. good job on the hack gary and good correction on that mike ;)

calvinnguyen 04-14-2004 03:05 AM

Quote:

Originally Posted by Mike_XBLW
OK...for everyone who is having the "Style:" problem...here's the fix...

In the style manager...display order, make sure they don't all have the same number...actually number them 1, 2, 3, 4, etc....

I had all of mine set to 1, but when I changed it, magically, it started working

Yeah, this is working.

But some users display:
Style: xxxxxxx
some users display:
Style:

some users display:

Style: not specified


***I know why for user had display Style: not specified, but how come some users still have display
Style:

calvinnguyen 04-14-2004 03:10 AM

How do we count each style have many users used it?

Gary King 04-14-2004 12:53 PM

Quote:

Originally Posted by calvinnguyen
How do we count each style have many users used it?

That's somewhat a new hack altogether; although if you know how to code it yourself, here's a query to get you started:

[sql]SELECT styleid, COUNT(styleid) AS count FROM user GROUP BY styleid[/sql]

lazserus 04-21-2004 12:53 AM

For some reason this is not working for me. I'm not getting any errors, but nothing happens. It's weird. It's simple enough and I followed the directions to the T. Yet, the style doesn't show up at all.

I tried to post a screenshot, but the server kept getting reset. It's not really necessary, though. Imagine what your board looks like w/o this hack installed and you've got my problem. I've got the hack installed, but nothing has changed.

Gary King 04-21-2004 11:15 AM

Quote:

Originally Posted by lazserus
For some reason this is not working for me. I'm not getting any errors, but nothing happens. It's weird. It's simple enough and I followed the directions to the T. Yet, the style doesn't show up at all.

I tried to post a screenshot, but the server kept getting reset. It's not really necessary, though. Imagine what your board looks like w/o this hack installed and you've got my problem. I've got the hack installed, but nothing has changed.

If you're using old style postbits, then modify postbit_legacy instead of the postbit template

lazserus 04-21-2004 04:11 PM

You know what, that must be it! I am using legacy and I didn't even put it together. Thanks! :surprised:

lazserus 04-21-2004 10:29 PM

This is working just like it was designed and I love it. I have one question, however. Is there a way to make is to that someone who uses "Forum Default" is not classified as "unspecified"? Say if the forum default style is called "Bob" and the standard user just uses the forum default -- is there some kind of if condition that could be put in place that would point it to whichever style is the forum default? I hope I'm making sense. So, if user Joe is using forum default the postbit would display "Bob" instead of unspecified.

Also, what does it mean if the Style: is blank? I apologize if this has all been mentioned before in this thread. I thought I read everything, I swear. :nervous:

Gary King 04-21-2004 11:45 PM

Quote:

Originally Posted by lazserus
This is working just like it was designed and I love it. I have one question, however. Is there a way to make is to that someone who uses "Forum Default" is not classified as "unspecified"? Say if the forum default style is called "Bob" and the standard user just uses the forum default -- is there some kind of if condition that could be put in place that would point it to whichever style is the forum default? I hope I'm making sense. So, if user Joe is using forum default the postbit would display "Bob" instead of unspecified.

Also, what does it mean if the Style: is blank? I apologize if this has all been mentioned before in this thread. I thought I read everything, I swear. :nervous:

Okay I have made some important changes to the hack now. What you suggested is now a default part of the hack.

Also, the Style: being blank is explained in first post (it's in red.)

lazserus 04-21-2004 11:56 PM

You are now a holy man in my book. That's so cool of you to do. I apologize for neglecting what you said in post #1, I hadn't read that one in a few days.

/me installs and clicks install

lazserus 04-22-2004 09:57 PM

This is kind of an addition to Barbeque's question about the color - is there a way to define the color? All my styles display it in red, but it doesn't show up as well in red with certain backgrounds.

Gary King 04-22-2004 11:30 PM

Quote:

Originally Posted by lazserus
This is kind of an addition to Barbeque's question about the color - is there a way to define the color? All my styles display it in red, but it doesn't show up as well in red with certain backgrounds.

Display what in red?

KamuiX 04-23-2004 05:11 AM

Working beautifully for me, Gary. Awesome hack and easy to install, thanks! :D

*clicks install*

lazserus 04-23-2004 04:35 PM

Quote:

Originally Posted by Gary W
Display what in red?

Sorry, I was a bit vague. The text output is red. While in the Dark Blue style on vB.org is yellow, all of my styles default to red.

So, what I'm asking is if there's a way to customize the color of the ./me text?

Gary King 04-23-2004 06:47 PM

Oh; that has nothing to do with this hack. Anyways, try asking in its appropriate support thread.

Dan P. 04-25-2004 12:24 PM

Ok..this is a stupid question but it's driving me crazy. Where is the Open includes/functions_showthread.php ? Is it in the template manager or on the server itself. I found a showthread.php on the server but that didn't have the text to replace in there and I couldn't find it in the template section.

Gary King 04-25-2004 01:41 PM

It's in the server, in the includes folder.

Dan P. 04-25-2004 02:39 PM

Thanks Gary, for the help and the hack.

Dan P. 04-25-2004 03:29 PM

Ok..I installed the hack and it shows - Style: ()

dutchbb 04-25-2004 03:41 PM

thanks but:

why does it show "Default Style" for some members and for others just the name of the default style??

Can this be changed?

And for some it shows no style at all?

ps: another prob: when I choose a style wich is not default I see "(not specified)" in users postbit who have choosen the default style.

So still some work to do with the default style for this hack I think.

Red Blaze 04-25-2004 03:53 PM

If you get sytle: not specifed or something like go, go to your user cp, under options (I think) scroll all the way to the bottom, it should say "Forum Skin". Choose one of the skins, and save it.

Reason I believe it says Style not specified is because the database couldn't recognize it yet or something. So I believe you have to tell the database what style you're using.

dutchbb 04-25-2004 04:02 PM

You are right all problems I said are solved if all users choose anything accept "default"

But isn't there a better way to solve this?

Dan P. 04-25-2004 04:04 PM

It is the default that is causing the problem. All other members who chose different skins are showing up but those with the default are just showing ().

EDIT- Well, I'm a knoob :) I saw Gary's post #33 which explains what to do. I made the change and it shows up correctly.

007 04-28-2004 01:19 PM

The way to fix this is to make it so when a user selects a style in the quick dropdown menu on all pages, their selection would be saved in their user info. Otherwise it is just stored with a cookie. Regardless of whether or not someone has say "Default" or "Style A" selected in their UserCP, the hack will not show anything that they select in the dropdown menu. I think making the dropdown menu change the users style the same way it does in the UserCP is the next step for this hack, as that seems to be the problem.

Please fix. :)

kirupa 05-01-2004 03:45 AM

Quote:

Originally Posted by 006
The way to fix this is to make it so when a user selects a style in the quick dropdown menu on all pages, their selection would be saved in their user info. Otherwise it is just stored with a cookie. Regardless of whether or not someone has say "Default" or "Style A" selected in their UserCP, the hack will not show anything that they select in the dropdown menu. I think making the dropdown menu change the users style the same way it does in the UserCP is the next step for this hack, as that seems to be the problem.

Please fix. :)

Wow - I was about to mention this also. I thought it was an issue only that I noticed. Great hack Gary! If 006's suggestions are implemented, this will be one of the best hacks I have installed! :)

VitroX 05-01-2004 09:18 PM

have been this hack tested on a vb 3.0.1?

I followed all the steps and it didnt show anything, not even the word "Style:"

The Wise One 05-17-2004 12:54 PM

is there a way to make this work in member.php? or do i need to take this to the modification/hack request forum?

edit:

i would like to display this info on the page where one goes to view a members profile...right underneath where the referrals are displayed...

Flow Fusion 06-05-2004 01:15 PM

Clicks install..thanks!

QATAR SPEED 06-12-2004 07:01 PM

Quote:

Originally Posted by 006
The way to fix this is to make it so when a user selects a style in the quick dropdown menu on all pages, their selection would be saved in their user info. Otherwise it is just stored with a cookie. Regardless of whether or not someone has say "Default" or "Style A" selected in their UserCP, the hack will not show anything that they select in the dropdown menu. I think making the dropdown menu change the users style the same way it does in the UserCP is the next step for this hack, as that seems to be the problem.

Please fix. :)


Hacks works great ... Thanks

But like 006 said if u can fix it with the dropdown menu it will be great ..

Titus 06-16-2004 02:06 AM

Quote:

Originally Posted by VitroX
have been this hack tested on a vb 3.0.1?

I followed all the steps and it didnt show anything, not even the word "Style:"

I just installed it on a 3.0.1 board, works great.

alkahf 06-16-2004 08:10 AM

Hacks works great on a 3.0.1 board ...

Thanks :)

Merjawy 06-22-2004 11:52 PM

Quote:

Originally Posted by alkahf
Hacks works great on a 3.0.1 board ...

Thanks :)

Great hack installed it now thnx

one problem.. it will (as suppoed) work with chosen style in usercp (from profile) but if the user changes style from within the forum (quick style chooser) it will not reflect on this hack, the hack will still show whats in the profile !!!

I hope it can read from elsewhere instead.. I am working on that

Big Kahuna 06-23-2004 02:52 PM

I installed this a month or so ago -- and it worked great until last night when I installed the the avatar_opacity hack.

It appears that both hacks use style as a varible in addition to it also appearing to be a command. The avatar_opacity hack must define the style variable last as it works while the style a member uses is now left blank.

I tried to figure out how to rename the variable in this hack to once again display the style a member uses -- but I'm completely lost.

Please help.

Thanx

Big Kahuna 06-23-2004 02:59 PM

Please disregard the above -- I think I may have found my problem

My Bad

Big Kahuna 06-23-2004 03:12 PM

When I started retracing my steps -- I saw that I modified the version of the functions_showthread.php that was just prior to this hack. Rookie mistake that I seldom make. I try real hard to keep all of my programs in snyc -- but dropped the ball on this one.

Anyway -- so that everyone knows, this hack works great and I do not have a compatability issue. Thanx again for this hack.

It can be seen at www.moparstyle.com

BTW -- if anyone ever figures out how to make the style chooser save to the user's CP and not just as a cookie -- post it here as I'd like to really know what styles the users use.

weitalia 07-08-2004 05:06 PM

Great hack mister! But I want ask is there a way to make the changing of dropdown menu un the bottom left of the forum update the usercp forum skin info?
Thanx in advance and congratulations for the hack ;)

;)

Dark Aura 07-10-2004 05:57 PM

I installed the hack, but it didn't work for me; I have read this whole thread through and don't know what I have done wrong, however it is the first hack I have ever installed, so I'm not to confident. All I get is Style: Can anyone help?

weitalia 07-11-2004 10:24 PM

Quote:

Originally Posted by Dark Aura
I installed the hack, but it didn't work for me; I have read this whole thread through and don't know what I have done wrong, however it is the first hack I have ever installed, so I'm not to confident. All I get is Style: Can anyone help?

Are you sure to have read whole thread? I think no.
Go HERE,it's better refresh your memory ;)

;)


All times are GMT. The time now is 08:29 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.01975 seconds
  • Memory Usage 1,830KB
  • 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
  • (12)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
  • (40)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