Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
I just got all the new styles sorted out, after the 711-722 upgrade.
My upgrade was missing the new-alt ones, and it was blanking lines out.
Looks cool now.

But, it lead me to another thought...
(dangerous, I know)

If we can change the colours and styles for new posts, how about an option for Sticky posts?

I find they disappear into the list of posts, or don't really stand out as different or important, from the other posts in the forum.
I'd love to make them a different colour background at least, so that they do become part of the header, letting people see where the real posts start.

Does that make sense?

Thanks Rick!
Andrew

Last edited by Andrew Bienhaus; 11/29/2007 7:23 PM.

...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
for the short term, i added an additional class for sticky / announces to the tpl that renders the HTML.. ie: class="newintopic sticky" ...

*drumroll* 'sticky' for stickies and 'announcement' for announcements

yah yah, i know i used some obscure naming there laugh

soooo, you can easily add your sticky and announce classes to the 'Extra CSS' section for each theme for the mean time..

by 'mean time', i mean.. 7.3... there is no official new class that you style in the admin editstyle.php world ...

having the extra class does nothing to affect any existing styles at all, so it's at worst harmless wink


Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Hmmmm - adds to Watch List for 7.3 smile ....

Cos I know, I'm gonna forget....

Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
so... it's in 7.3?
or you're saying I can manually add it myself in 7.3?

...or?


...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
I think I get it.

Would anyone know which tpl displays the topics list?

Naw.
I've looked.
I don't get it. smile


...usin' da classic UBB, since the beginning of time.
wink
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Heh, i think we should add the class, and just not shove it in the style editor wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
ok, so, leave it alone, and let Rick put an announcements and stickies style section into 7.3?


...usin' da classic UBB, since the beginning of time.
wink
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
7.3 is locked, and I thik Rick said "no new classes" because we where getting too "feature addition" heavy while waiting for him to finalize the PayPal options wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
Well that's no good then.
Paypal? Hmmm...

Sirdude... do you have a few mins to help me via email?
Just point me in the right direction sort of thing.

andrew@bienhaus.org


...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yah Giz is right. there are no new styles in the style editor. what i was saying is that you can add it yourself to the Extra CSS portion and take advantage of the 7.3 tpl that accommodates you, if you choose to..

now for 7.2.2, all you have to do is edit postlist.tpl and just check for "{if $postrow[topic].announce}" in the post loop ("section") and then decide to add your chosen extra class to style those rows..

/templates/default/postlist.tpl .. *poof* voila wink

Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
cool. will try that. thanks!

and these "extra" classes you're talking about, are in the "Extra Properties" section of the style editor... where I can just add some extra ones, name as I wish...


...usin' da classic UBB, since the beginning of time.
wink
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
You would add any additional classes you WANT to add to the extras section, it gives you a sandbox to define your own classes if you'd like...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
Well Sirdude, I repeat... can I hire your help?

I recognize that you guys see this as simple, but I'm a network engineer, who hasn't programmed professionally since the late 80's.
I can decode the scripts, and I think I know what to do to make extra css entries, I think... but truly, I can only find the announce IF, and no sticky IF statement.

I will pay.
Or, if this will be moot in 7.3.1, and is too complex, just say so. I need a little hand-holding though.

again, maybe by email is best
andrew@bienhaus.org

then we can toss script examples back and forth...


...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
oh sorry bout that Andrew. i send you and email smile

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
<snicker> mention money to any of the popular beta testers here and you've hired yourself your own personal scripter wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
Bah.
It's never been about money for me, I'll happily pay someone who is friendly and helpful, and willing to get me over the generational coding gap. wink

But, in the end, being custom, and a bit of a hassle, what SirDude has been able to show me, is that this feature is indeed going to be present in 7.3, so I will wait for that, and employ it then. smile

Thanks again Sir, much appreciated!

Andrew


...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
you are welcome smile

ps: speaking of generational coding.. i've been doing it since 1971.. eek

Last edited by Sirdude; 11/30/2007 11:48 PM.
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
I'm already imagining, announcements with a blood red background, and white letters. smile


...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
-LOL- Then you're ahead of me... smile
That's cool.
I went into hardware, networks, and servers in the early 90's, when I found I just didn't have the patience to sit for that long staring at code.
The hardware, satisfied the engineer in the blood, and got the hands dirty. wink

A good buddy stayed with the coding... and well, he's now located closer to Rick and the team on the west coast... retired from MS for 9 years now.
Wonder if I should have tolerated a bit more code... wink


...usin' da classic UBB, since the beginning of time.
wink
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
I'm a BSEE by schooling, but was heavily into the CS side of things. I designed one board, sold it and moved to coding and never looked back laugh

too many Karnaugh maps for my taste wink

Joined: Apr 2007
Posts: 120
A
member
member
A Offline
Joined: Apr 2007
Posts: 120
Started with Mech Eng.. raised by two generations of them.
But went back to my first love, thinking it would make me happy. wink


...usin' da classic UBB, since the beginning of time.
wink
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I trained in cobol and was pretty good at it - sadly there isn't much call for it these days - mind you I have also forgotten most of it frown

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Sirdude
I'm a BSEE by schooling,


I did that until college. College was about IT.

Am glad though I got the electronics background, still helps me quite a lot.


[Linked Image from siemons.org]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)