Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 5 1 2 3 4 5
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I'm having problems with members showing their titles. It will only show their standard titles. Maybe something with ubb_lib.cgi?

Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
ubb_lib_posting.cgi is probably the culprit in this case.

qasic

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I rehacked ubb_lib_posting many times. I had the option set to custom titles only, when i got these errors. But when i set it too both(though i wasn't using the ranks), it worked. I don't know why though...

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
What sort of error did you get when you set it to Titles only?

qasic

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Well, i mean that when i set it too only custom titles, it showed the standard 2 titles(junior member and member) and not the ones i set.

Sponsored Links
Joined: Apr 2001
Posts: 36
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 36
Is it safe to install this hack with 6.1.0 Final yet? laugh

Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
I did a successful autoinstall.. Once i added my ranks and pressed submit i get a fatal error:


An unexpected fatal error has occured:

Can't open : No such file or directory
Here is the backtrace:
Backtrace: ubb_lib_filehandle.cgi:299 -> sub UBB::FileHandle::tracer
Backtrace: ubb_lib_filehandle.cgi:387 -> sub UBB::FileHandle::_open
Backtrace: ubb_lib_filehandle.cgi:67 -> sub UBB::FileHandle::_open_file
Backtrace: ubb_lib_filehandler.cgi:112 -> sub UBB::FileHandle::new
Backtrace: ubb_lib_files.cgi:501 -> sub UBB::FileHandler: shocked pen
Backtrace: cp_custom_status.cgi:158 -> sub main::WriteFileAsArray
Backtrace: cp.cgi:771 -> sub main::SetCustomStatusSettings


All the files were uploaded and cmodded... Any ideas? Im using the latest version of Ubb

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Either one you have not put in the correct paths or two you have not copies c*.cgi from the ZIP file to the place you want to store the custom status.

qasic

Joined: Apr 2001
Posts: 36
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 36
I've installed on 6.1.0 Final (curiosity got to me smile ) and it works just perfectly for me. laugh

[ 10-24-2001: Message edited by: KC ]

Joined: May 2001
Posts: 47
Member
Member
Offline
Joined: May 2001
Posts: 47
likewise, running without a hitch on 6.1 final.

Sponsored Links
Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
Heya Quasic, sorry for that post, was my stupid error. Im here iin Japan Airport waiting for a flight and working on Update to the never version of UBB. So my mind is quite out of it. I forgot to setup the primary settings lol... again sorry..

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi everything works fine with this hack until
the title of the mods..

My mods are not shown in every forum as mod frown

What can I do???


Webmaster of d-talk & Kabel-Forum.com
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Read the FAQ. There are instructions for doing that!

qasic

Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
thanks quasic if forgot to read it... laugh cool laugh


Webmaster of d-talk & Kabel-Forum.com
Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
Is there a chance for this hack or maybe for an alternative hack to let the users upload their images by themselves ?

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
Quote
quote:
Muc I think you are in the wrong topic smile

anyway, you could alway add a simple upload.cgi script that alway write usernuber.gif/jpeg would do the trick ans you would only have to edit wordlets


Do you believe in love at first sight,
or should I walk by again?
Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
Maybe qasic provides a solution for his avatar hack...

Your solution sounds fine, but are you sure nobody ever did this before and can provide it?

[ 10-27-2001: Message edited by: Muc ]

Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
Muc, use the Avatar mod, except do not install the mod on the CP where it puts in the Avatar menu.

I have it installed on a board I use. I just removed the CP part and they enter their image. It has to be hosted on the internet somewhere, but it does work.

Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
qasic, I send you an email that 2 files are missed from the change.

I have manually changed them and sent you a new install cgi for you to review.

let me know what you think.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Thanks for the files. I already knew how to do it but I don't think it's really necessary. You free to put a link to instructions here if you like though smile

qasic

Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
Would be cool if you could post the instructions John smile

Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
Sorry I was busying fixing my server problems.

Muc, you got mail.

As for the missing code, I created a .cgi program that will install it.

Unsure of the rules here for posting, but since qasic said it was OK I will once my servers come back up.

Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
I got your email but I thought you were talking about another thing as you actually did frown frown

In your version users can provide their own image by uploading it anywhere in the internet and then filling the location into the input area, but I was seeking for a mod which allows uploading a image into a special directory on my own server...

argh, anyone knows how to ?

Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
Just in case someone else wants it.

This will use custom field 3 to allow a user enter their image and show on their profile.

The image just has to be one the net somewhere.

**** Important notice, if the server they host the picture is slow it can impact your server response time when view that persons post.

Well here it is.

public_display_name.pl

Find


$user_profile[18]


Replace with






public_topic_page.pl

Find

sub topic_row {
if ($alt_color eq "$vars_style{AltColumnColor1}") {
$alt_color = "$vars_style{AltColumnColor2}";
} else {
$alt_color = "$vars_style{AltColumnColor1}";
}


Add after
{
if (length($user_profile[18]) < 8) {
$avatar = "
";
} else {
$avatar = "
";
}
} # Avatar Routine (Thanks to CC & Curioso)

Find



Add after

$avatar



Hope this helps.
Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
Well you could open 1 directory and allow anyone to ftp a file to it.

Of course that is a major security problem if someone uploads a virus.

Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
Have you looked at ELys Upload hack.

It is for attaching file in a post, but could be changed to do what you ask.

https://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic&f=30&t=000045

Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
Chuck is working on adapting the upload thing to the avatar mod, but it seems to be to weird

besides: thanks for your work, if I don't get the upload thing workin I'll think of implement your mod

Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
Quote
quote:
when can you post the missing code ?

Joined: Aug 2001
Posts: 98
lg Offline
Member
Member
Offline
Joined: Aug 2001
Posts: 98
think u can make the autoinstall for this work for XHTML templates?

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Please ignore!

[ 11-01-2001: Message edited by: Canvey ]


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Oct 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 29
I am working on trying to find the missing code.

I was pretty sure I had it all.

Did you install the full hack before making the changes?

Joined: Oct 2000
Posts: 505
Muc Offline
Member
Member
Offline
Joined: Oct 2000
Posts: 505
I redownloaded the hack from qasic.net but the changes weren't made to the readme yet, so the profile still doesn't show custom ranks/status, even if I use your addition you posted in another thread. frown

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
It is working fine on 6.0.1.2 see my site .

And to be honest, this is my first time at using any hacks.

What problems are you getting?


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Jun 2001
Posts: 36
Member
Member
Offline
Joined: Jun 2001
Posts: 36
Just wanted to see if anyone else has this successfully running on 6.0.1.2 before I try and install and muck everything up. smile

Joined: Nov 2001
Posts: 99
Member
Member
Offline
Joined: Nov 2001
Posts: 99
hmmmm...something is wrong with my control panel, when I go in there, it shows up internal server error...anybody know what's wrong

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Hacking error. Re-hack from good backups.

qasic

Joined: Nov 2001
Posts: 99
Member
Member
Offline
Joined: Nov 2001
Posts: 99
An error has occured:


Label not found for "next THISPARTICULARLINEHide" at /web/sites/255/dreamcastdude/www.dcdojo.f2s.com/cgi-bin/ubb_lib_posting.cgi line 3.


Please inform the board administration of this error so that they may fix the problem. Thank you!

I get that when I go to my updated profile, do you know which file I messed up on?

Joined: Apr 2001
Posts: 86
Member
Member
Offline
Joined: Apr 2001
Posts: 86
Any chance of making this hack work like with Multi Templates?
As I describe here!
https://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic&f=28&t=000183

Joined: Nov 2001
Posts: 99
Member
Member
Offline
Joined: Nov 2001
Posts: 99
ummm...ok now I did it and I get an error on that public topic page complaining about the $custom_status you are suppose to put in

Joined: Mar 2001
Posts: 75
Member
Member
Offline
Joined: Mar 2001
Posts: 75
Does this Hack work on 6.1.0.2 and what known Bugs are there???


In God we trust, all others pay Cash!
Page 2 of 5 1 2 3 4 5

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
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)