Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
ok by popular demand, here it is.

file updated. version 1.5
http://www.jordodesigns.com/stickythreads6xx.zip

please report any bugs in this thread. thank you.

this version includes the feature "thread Bump" in addition to sticky threads. thread bump (previously a seperate hack) allows you to temporarily bump a thread to the top of the listing - it will act as if you replied to it, but no dates on it will actually change.

[color:#000000" SIZE="1][ May 30, 2001 05:16 PM: Message edited by: jordo ][/color]

Sponsored Links
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
instructions updated (in case ne1 grabbed in last few mins. smile )

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
flawless so far!
I can help you with the graphic bump and debump gifs if you want.
Also, we need to add an option to top temporarily (which means it will pushed below newest post).

More later!

Joined: Jun 2000
Posts: 37
Member
Member
Offline
Joined: Jun 2000
Posts: 37
jordo we know each other from a group right ?

anyway , great hack

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
freeTV - sure it would be great if you could do those! thanks man. ill work on the temp topping right now too.

evafan - yep.

Sponsored Links
Joined: Jun 2000
Posts: 37
Member
Member
Offline
Joined: Jun 2000
Posts: 37
jordo , need anything hit me on ICQ , ill PM you my UIN

Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
nice thx laugh


Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo
Joined: Apr 2001
Posts: 711
Spotlight Winner
Spotlight Winner
Offline
Joined: Apr 2001
Posts: 711
Thanks, I'm checking it out right now, I'll be sure to report back.

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
i just updated the file to work with wordlets. as soon as we have the 2 default graphics ill update it again with them and the ability to change them through the styles Control panel.

im not sure a "temporary bump" option will be coming soon, as it is looking to be a challenge. we'll see.

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
zip doesn't work.. when i try to open my zip file it says it isnt a valid zip archive

Sponsored Links
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
i just tested. works fine for me. anyone else have problems?

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
The zip file doesn;t work for me frown

Joined: Apr 2001
Posts: 46
Member
Member
Offline
Joined: Apr 2001
Posts: 46
i just downloaded it again and it works for me...i dont know what to tell ya dude

im about to upgrade this hack..heh

thanks for posting it, it helps out a lot

..::|-Peace-|::..

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Thanks, I just installed it but it says Sticky: beside my topic name.....

Is there a way to change that? Have an image instead or something?

Here is my address:

http://www.lumberdepot.ca/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=1

Surprised no one else has shown a test of it working....

Ramprage

Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
Quote
quote:
http://www.zeldaglitches.com/ubbcgi/ultimatebb.cgi?ubb=forum&f=8 though i took out the Sticky: part of it on the forum page, because i didnt really like it. But if you look at the date you will see that it was bumped. Also I changed it to an image on the posting page.


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
itz not workimng still whats wrong?

Joined: Apr 2001
Posts: 46
Member
Member
Offline
Joined: Apr 2001
Posts: 46
hey hey

ok, im totally confused...

i installed the hack earlier and it worked...

then i d/led the update, and i have no clue whats update and what to change and edit...

in future updates of the code, can you please add a section on what to update section...
include everything in that section instead of making another file (the vars_wordlets_install)...im sorta confused on that

ok, i know im totally confusing you, but this is what i did, when i tried to do version 2 of this code:

i opened the mods_wordlets_install file, and i changed everything it said to in that...

then i went back to the stickythreads6xx file, and i changed the vars_wordlets_mods.cgi file....

i uploaded them all and cleared my cache...

im not for sure whats wrong, but nothing its changed about it...do i have to install everything all over again??

btw, my boards a 6.04a

..::|-Peace-|::..

Joined: Apr 2001
Posts: 46
Member
Member
Offline
Joined: Apr 2001
Posts: 46
alright, i can edit 3 of my wordlets through my control panel, but even after i edit them they dont work...

i changed the title of the sticky thread to "BUMP" and it still says sticky

heh, can i get anymore confusing tonight???

try to understand..heh

..::|-Peace-|::..

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Nice hack worked pretty good.

Thanks alot. smile

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Sorry double post.

[ May 26, 2001 11:16 PM: Message edited by: Lord Dexter ]

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
umm anyone mind sending me file thru msn or icq?
my icq # is 98901233
emailis [email protected] for msn

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
xXDaRoadie

########===================
######## in ubb_forum.cgi :
########===================

########after:

$subject = $stats[4];

########add:

if (-e "$vars_config{NonCGIPath}/$exact_path/$one.stick") {
$sticky = "Sticky:";
} else {
$sticky = '';
}


####### Change Sticky: to BUMP

Delete old file: Change the permissions, upload it and then clear the boards cache.

It worked for me :-)

Ramprage

Joined: Apr 2001
Posts: 46
Member
Member
Offline
Joined: Apr 2001
Posts: 46
thanks ramp..it worked

nothing like the good ole fashion way...eh???

..::|-Peace-|::..

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Your very welcome :-)
Hey I find do it yourself is about the best way to go as long as you have someone to help start you off wink

Ok everyone I just make images for mine for Bumping and De-Bumping and I must say they look pretty good!

Here is what I did to get images in mine:

########===================
######## in ubb_lib_posting.cgi:
########===================

########after:

$delete_option = qq($vars_wordlets{delete_topic});

########add:

if (-e "$vars_config{NonCGIPath}/$exact_path/$_[1].stick") {
$sticky_option = qq(De-Top);
} else {
$sticky_option = qq(Top);
}

##### SEe THE TOP AND DE-TOP? WELL GET RID OF THOSE!! laugh I replaced them with the following:

### FIND De-Top


#### Replace with

De-Bump

### FIND Top


#### Replace with

Bump

##################### END

That's all you have to do!!
Now save my images I made and upload them to your NONCGI directory for UBB.

Here is a screenshot of what my changes look like:

BUMP SCREENSHOT

[Linked Image]


DE-BUMP SCREENSHOT

[Linked Image]

Here are the two images (they're transparent gifs like the others so if you background changes you won't see white laugh )


De-Bump

[Linked Image]


Bump

[Linked Image]

I created the images and I allow you to freely distribute them on your site(s)

This script is excellent!

Enjoy everyone!!

Ramprage

[ May 27, 2001 12:50 AM: Message edited by: ramprage ]

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
SOMEONE PLEASE HLEP ME>>>........ i want this hack badly but the downlaod doesn't work for me when i download it.. it appears as a 473 byte zip file. and when i open it it says "Cannot Open File It does not appear to be a valid archive" help me please

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Get winzip 8.x at www.winzip.com and open it...must be your compression program.

If you still can't open it then it must be because you're not downloading all of the file (your missing a peice before you download completes)

Try holding shirft+ clicking on the link or try using Getright to download, it can resume downloads. http://www.getright.com/

I don't want to post a new link because if the author updates that one and people are still getting the old one it might cause trouble.

Ramprage

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Ramprage, you took my assignment smile

Anyway, Jordo, here you go:

Top

De-Top

[ May 27, 2001 01:13 AM: Message edited by: freeTV ]

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Opps frown Sorry freeTV I just got to anxious to get it the way I wanted laugh

Hope I didn't upset you
, but we both have nice icons anyway and now people can choose whatever ones they like wink


Ramprage

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
No problem, ramprage. I was just kidding!

Jordo: I'll think about the temporary bump and PM you my take on this. BTW, nice hack! It works like a charm for me.

This is going to be a hottest item at ubbdev.com wink

freeTV

Joined: Apr 2001
Posts: 46
Member
Member
Offline
Joined: Apr 2001
Posts: 46
hey hey

thanks ramprage...it totally works

one thing though...the words on ur images dont work on a black bground wink

thanks again

..::|-Peace-|::..

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
ok once again has been updated, to upgrade take a look at the version number at the top of the file that you originally installed it from.
if the version is 1.1 then you will need to go through and do / redo the instructions for the following files:
ubb_lib_posting.cgi
ubb_topic_maint.cgi
ubb_forum.cgi
cp_vars_style.pl
cp_styles.cgi
vars_wordlets_mods.cgi

if you have version 1.2 do / redo the following:
ubb_lib_posting.cgi
cp_vars_style.pl
cp_styles.cgi
vars_wordlets_mods.cgi

current version is now 1.3

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Kuzco - try now its a new zip. i made it useing powerarchiver, but i also tested it in winzip so im not sure what could be wrong. pm me if you still have problems and ill email it to you non-zipped.

ramprage - if you have the wordlets mods kit installed you should be able to edit the word sticky from the control panel. under the "Wordlets" tab there should be a modification wordlets option and the wordlet is in there. thanks for the images too man. smile

xXDaRoadie - hopefully my last post clears up some installation confusion. the mods devkit is a seperate (and awesome) hack that i used to get the wordlets in. if it really isnt working for some reason, you can always edit the file vars_wordlets_mods.cgi by hand to what you want them to say.

freeTV - thanks for the very nice pics. included in zip. smile

k thats it for now, let me know any bugs or anything.

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
lol works fine.. it was my dumb download program.. i got getright and worked like a charm.. sweet mod dude smile love it

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
xXDaRoadie : I made some new ones specially for you laugh

De-Bump:

[Linked Image]

Bump:

[Linked Image]



jordo: your welcome for the images laugh but for some reason when I got to Control Panel and go to anything to do with Wordlets I get the following error:

Content-type: text/html
Software error:
syntax error at /usr/local/plesk/apache/vhosts/lumberdepot.ca/cgi-bin/ubb/cp_wordlets.cgi line 23, near "elsif" syntax error at /usr/local/plesk/apache/vhosts/lumberdepot.ca/cgi-bin/ubb/cp_wordlets.cgi line 40, near "}"
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.

Maybe I screwed something up in the wordlets some how?

I also have WhoisOnline hack and PM notify hacks installed.... Although I've never even touched the Wordlets feature on my board so I wouldn't know if they worked prior to all these hacks.

Can you direct me to how to fix this without changing everything?

I guess something in my
cp_wordlets.cgi needs to be changed
Here are the first 50 lines of my cp_wordlets.cgi... I believe I modified it for the whois online hack.


# Control Panel - Routines for viewing/setting wordlets

sub view_wordlets {
local($var, %wordlets_fill);

# $_[0]: wordlet parameter

if ($_[0] eq 'wordlets') {

%wordlets_fill = %vars_wordlets;

$Hiddens = qq%

%;
$CurrentTab = qq%$vars_wordlets_cp{primary_wordlets}%;

# note: the wordlets are already required... no need to grab them

&CPHeader; &CPFooter;
&CPTop;
do "$vars_config{NonCGIPath}/Templates/cp_set_wordlets.pl";
&CPBottom;
elsif ($_[0] eq 'wordlets_mods') {

%wordlets_fill = %vars_wordlets_mods;

$Hiddens = qq%

%;
$CurrentTab = qq%$vars_wordlets_mods{mod_wordlets}%;

&CPHeader; &CPFooter;
&CPTop;
do "$vars_config{NonCGIPath}/Templates/cp_set_wordlets.pl";
&CPBottom;
}
}
elsif ($_[0] eq 'wordlets_err') {

%wordlets_fill = %vars_wordlets_err;

$Hiddens = qq%

%;
$CurrentTab = qq%$vars_wordlets_cp{error_wordlets}%;

# note: the wordlets are already required... no need to grab them


Can you let me know what's wrong?

Thanks and nice hack. Also what does the new version of your file do? Could you post what the changes are every time you upgrade it so we know if we should try upgrading or stick to what we have...

Ramprage

[ May 27, 2001 05:39 AM: Message edited by: ramprage ]

Joined: Apr 2001
Posts: 46
Member
Member
Offline
Joined: Apr 2001
Posts: 46
hey hey

aww, i feel special..heh

thanks for the new buttons ramp..i totally appreciate it

and thanks for the help jordo...it clears some stuff up

..I love this hack laugh

..::|-Peace-|::..

Joined: May 2001
Posts: 22
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Ok never mind about my previous post I managed to get it working. I think when I did the whois online hack I didn't make sure that wordlets were working, I have resolved the issue wohooo!!

But I don't see where in wordlets that you can change Sticky: to Bump or whatever you like.... I guess I'll stick to the manual editing myself laugh

Glad you like the new icons, prehaps give me your link so I can see them in action tipsy , i'd like that


Ramprage

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
ramprage - they should be at the top in the modifications wordlets. make sure you added the lines to vars_wordlets_mods.cgi. heres a picture to clarify:
[Linked Image]

as for updates in between versions.

1.2 added some bugfixes over 1.1 (required i would say) and wordlets.

1.3 added the pictures and the ability to change them through style settings in the CP. i would recommend keeping up to the current version (see my post above for specifics) as there will probably be 1-2 more versions as i streamline the code and in case any bugs pop up.
thanksd smile

Joined: Sep 2000
Posts: 20
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 20
Worked first time laugh

Thanks for this, my mods have been screaming at me for this evr since we upgraded form 5.47 to 6 laugh

Joined: Apr 2001
Posts: 235
Member
Member
Offline
Joined: Apr 2001
Posts: 235
Quote
quote:
You're welcome. You can also get the gifs for those who use dark bacground below:

Top

De-Top

Joined: Jun 2000
Posts: 536
Member
Member
Offline
Joined: Jun 2000
Posts: 536
This hack doesn't work on my board. The image de-top and top images don't come up even when I set them in the styles. I cleared catche and everything. I'm on 6.04e and my url is http://www.ultanime.net/cgi-bin/ultimatebb.cgi

Thank you,
M_E_W


//i wanna scream, show the world i have an inside.
i wanna bleed, let the blood flow, that keeps me alive.
Page 1 of 4 1 2 3 4

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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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
Morgan 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)