Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Adds a button allowing admins and mods to "top" threads, keeping them at the top of the forumlisting either temporarily or permanently.

Took me long enough to update the 6.2 version, lol. smile

www.jordodesigns.com

Or direct link here

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Wooooo! Finally! smile

I will install this later tonight, nice work jordo. laugh

Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
This should hopefully be the next thing that I install. Thanks


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
Spotlight Runner-Up
Offline
Joined: Mar 2002
Posts: 451
Is it worth upgrading from the 1.6 version Jordo? It looks like I've got a bit of work to do tonight.. eek

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Suggestions:
1. make "Forum Listing" a Wordlet
2. HIDDEN isn't XHTMLed (pub_top_topic.pl), make it hidden.

Sponsored Links
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
no. i originally added some changes but took them out so i could test more. so this is really 1.6 from 6.2.x...

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
updated with JC Templates instructions and one of LK's suggestions wink Didnt have time to do the wordlet tipsy

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I have a bug on my forum - Whenever I sticky something the topic disappears off the topic listing. o_O

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
version LD? anything else installed?

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
6.3.0.1. And yes I have alot of hacks installed. The weird thing is it worked, and I think it stopped once I upgraded to 6.3.0.1.

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I better check that out too....

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I saw a sticky on your forum yesterday so it works fine. frown

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
LD - make sure you added all the code to be added to ubb_forum.cgi... thats all i can think.

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
I have a question that might be a bit "noobish" in nature:

I'm using a black background for my forums. When I want to add a sticky, you have the two radio buttons for "Permanetly (until de-topped) top topic" and "Temporarily (until next post) top topic". The text is black. Black on black isn't cool. How can I set the text color there to white or grey? Is there a way?

I assume this is because I have the Text Color set to black in my style template, but I haven't actually tested this theory.

If I'm posting this to the wrong place, kindly kick me in the nuts and tell me where to go...

Thanks for the help!

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
those are actually graphics. you uploaded them to the noncgi directory and theyre entitled "top_topic.gif" and "detop_topic.cgi". you can just create new ones and overwrite those, or set new ones in the control panel styles.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
jordo - Seems when I compared I got rid of one step of code in ubb_forum.cgi. So it's fixed now. smile

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
[code][/code]I need that text to be a light color. Grey, white, etc. Or, alternately, have it put into a table with a grey BG color like the text above it. That may be easier to do.

Sorry to be a pain in the ass. I just really want this to appear right. The hack itself works great!

Oh - if you'd like to see what I'm talking about, visit http://vvvcentral.com/forums and try to make a post sticky.

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
Okay - ignore me. I found what I was looking for in the public_top_topic.pl file and edited it. Looks fine now!

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
thanks for pointing that out shadowchaser. i should really fix up the public_top_topic.pl html so it conforms to the styles of the board (using board text color, etc). smile

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
If you -do- decide to re-edit the script, take a look at two more things:

1. Check the spelling on "Permanetly (until de-topped) top topic." wink

2. There are a lot of redundant "/" characters being generated in the HTML output. For example, within the
tag in the code I referenced above.

Escape characters shouldn't be neccessary after the "print" command.

Both small issues and easily fixed, but if you're going to re-release the script, thought you might want to know!

Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
The "/" characters are there for tags that don't have any closing tags, such as
,

,
, , , etc.

It's all about the HTML 4.1/XHTML 1.1 compliance. wink
Sorry, couldn't resist.

jordo: I'll give your mod a go later tonight. smile

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Actually, it's

, not

tipsy


Joined: Sep 2001
Posts: 379
Member
Member
Offline
Joined: Sep 2001
Posts: 379
Oops!
Don't ask me how that got in there, because I have no clue. :rolleyes:

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
jordo - Please confirm of any updates. I'd like the bug fixes fixed. smile

Joined: Jun 2002
Posts: 62
Member
Member
Offline
Joined: Jun 2002
Posts: 62
quote:
Originally posted by Idle:
It's all about the HTML 4.1/XHTML 1.1 compliance.

XHTML? You mean I have to learn another language?? laugh

Seriously, that didn't even occur to me. I thought it was a CGI thang...

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
quote:
Originally posted by Lord Dexter:
jordo - Please confirm of any updates. I'd like the bug fixes fixed. smile

what bugs?

Joined: Dec 2001
Posts: 37
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 37
I get this when I try to top a topic

Invalid input! One or more items submitted in the form are not in the proper format.

» Please use your browser's back button to return.

whats wrong? I been trying to get this thing to work for a month now im not gettin anywhere frown

Joined: Jul 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 6
Nice

Joined: Jul 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 6
Hey Ive gotten it all installed and I tried to set a topic as a Sticky and its says

You are attempting to reach a page that does not exist.

» Please use your browser's back button to return.

Thats after I press the Top Topic Button. Any Ideas?

Update: bah never mind I was missing a line of code in the ultimatebb.cgi, Works great now thanks!

Joined: Jul 2002
Posts: 49
Member
Member
Offline
Joined: Jul 2002
Posts: 49
was this mod even released a month ago?

Joined: Mar 2002
Posts: 1
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 1
sorry to butt in, but I've been trawlin' UBBdev for a few days now and I have a question in particular to this mod...

In the v1.6, it is said that there is a multihack file, but none is linked... Does one exsist for this 'update'?

Cheers in advance.

Joined: Apr 2002
Posts: 1
MG Offline
Junior Member
Junior Member
Offline
Joined: Apr 2002
Posts: 1
thanks a lot i was searching for that

Joined: Jul 2002
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 7
I've installed the hack as per instructions. When I attempt to top a post, i get the following error when making a permanent topped post:

Can't open 'CGIPath/Members/sticky/4.cgi'.

Any idea's what I might have done wrong?

Using 6.3.0.1 Board and its located at http://www.flyersphans.com

Thanks in advanced,

Jeff

Joined: Jul 2002
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jul 2002
Posts: 7
Looks like I fixed my problem....

I checked my Members directory and did not see a sticky directory. I created one and set permissions and it topped the thread.

Thanks everybody.

Jeff

quote:
Originally posted by Jeff L:
I've installed the hack as per instructions. When I attempt to top a post, i get the following error when making a permanent topped post:

Can't open 'CGIPath/Members/sticky/4.cgi'.

Any idea's what I might have done wrong?

Using 6.3.0.1 Board and its located at http://www.flyersphans.com

Thanks in advanced,

Jeff


Joined: Jul 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 29
I installed this hack on my board and it works, but I also am having the problem with the text not showing up on the second screen.

At the risk of sounding like a complete techno-dunce, could someone please tell me what I need to change on the pl file to fix the text?

Also, the submit button is very small with no writing on it. (Not a big deal, but thought it might be related to the problem.)

Thanks!

http://www.freedominion.ca/cgi-bin/ubb/ultimatebb.cgi

Joined: Jul 2002
Posts: 45
Member
Member
Offline
Joined: Jul 2002
Posts: 45
in ultimatebb.cgi it says replace "use vars qw(" with "use vars qw(%sticky "

but there are multiple instances of use vars qw, are all of them suppose to be replaced?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No, only one of them (doesn't matter which, but, say, put it in the first one)

conniew - reinstall mod wordlets - www.qasic.net

Joined: Jun 2002
Posts: 19
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 19
how can i changed the word "sticky" to a graphic?

Joined: Apr 2002
Posts: 111
PF Offline
Member
Member
Offline
Joined: Apr 2002
Posts: 111
quote:
Originally posted by FrankR310:
how can i changed the word "sticky" to a graphic?

Change the sticky_threads_title wordlet in Modification Wordlets (from your CP) to some Image HTML.
Example:

Joined: Feb 2001
Posts: 34
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 34
Is the post to have some indicator that shows that it is sticky?

I don't have any text in the forum summary that says "sticky" or anything like that. I'm using JCTemplates, and used the instructions for JCTemplates.

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)