|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Thanks - seems crazy that anonymous users are also classified as **DONOTDELETE**.  Perhaps we ought to rename the **DONOTDELETE** to a more user friendly term, as I can see a lot of moans from users on this one  Or better still anonymous users should be linked to a different placeholder, with perhaps deleted users linked to yet another one.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
The place holder user's name isn't required to be **DONOTDELETE** it was just done that way so everyone would know not to delete that user... You could run ths sql command: UPDATE w3t_Users SET U_Username = 'Anonymous' WHERE U_Number = '1' That should make things look right. 
|
|
|
|
Joined: Oct 2002
Posts: 108
Journeyman
|
Journeyman
Joined: Oct 2002
Posts: 108 |
Thanks Dave, Mine is working GREAT 
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
I just updated IIP 5.2's zip file. Unregistered users that use the shout box will have the "Anonymous" username which can be adjusted in the language file. Also fixed the alter table script. Thought I had fixed that once already but I must have not uploaded it. 
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
Addict
Joined: May 1999
Posts: 1,715 |
I'm not sure is this is applicable in v5.2, but it is in 5.1 that I'm using. Since the user name is taken from the form and not the database, malicious users can send whatever they want as their name. I haven't checked how or exactly what they've done, but I just saw someone who made their username very large. Of course, if I'd have referer check turned on, this wouldn't be quite as easy, bu still doable if they spoof the referer.
As a side note, I think it would be nice to be able to disallow some markups since some people think it is fun to enter large images and stuff in their shouts. For myself, if I see it one more time I'll disallow markups completely, if they can't handle the feature I won't let them have it. I certainly won't spend time coding stuff just because they think it's fun to break the features they are given.
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
In 5.2 the script shoutadd.php looks at the user's ID number to add the shout.  Now that I think of it... anonymous users probably can't use a specific name when posting, right? I probably should remove the code that checks the incoming name for validity. It's of no use now. I figured the customizable markup ability of .threads will start causing problems for some eventually. A disallow list of markup isn't something I have planned in the near future though. 
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
After looking around I see that anonymous names are stored in the post. I'll be updating the two shout scripts that can use this information. The anonymous name will only be displayed when the shout is stored under UID #1
|
|
|
|
Joined: Jul 2002
Posts: 135
Journeyman
|
Journeyman
Joined: Jul 2002
Posts: 135 |
How can we set it to not allow Anon users to use the shout box at all?
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
How do you mean? So they can or so they can not use it?
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Hi dave I've just upgraded to 6.6 so I thought I would do a clean upgrade of the II5.2. Downloaded the zip file (10 mins ago) and the index.php only has 3 lines . =================================================== <? header("Location: http://www.chattersonline.com/test/index.php?Cat=");? ================================================== so where can I find this ........ Step 1. Open the index.php file and edit the $palspath variable to indicate the full path to your .threads directory. THX
Thanks
Liahona
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
hmmmm I'll look at the zip. Not sure what may be the problem. Maybe the wrong file is in there.
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Yes was my mistake. I put the wrong index.php file in. The correct one is in right now. 
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Hi
Cheers and a Happy new year.
Keep well
Thanks
Thanks
Liahona
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Hi dave Changed the $palspath = and uploaded ran the index.php took me to a page that says Index closed "We are currently updating this page..." And i'm shown as loged in but not as admin. I have another browser window open aon my main page and it says I'm logged in as admin. When I click the link " .: IIP by David Lozier ©2002 :. " where it's supposed to take me to the config it takes me to your site. When I go direct to the II5.2 config page it says "You must be logged in and be an Administrator to access this" But I am logged in? Had similar probs with 5.1 Do you think my $palspath = path is wrong?
Thanks
Liahona
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
I can't answer this - but why are you fiddling with this with 15 minutes to hogmanay  I thought all Scots would be getting ready to tuck into the haggis by now 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Och I the Noo
ah hefta git this dun afor you lot get pist
eheh
Thanks
Liahona
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
LOL You had better translate for all the American's  They never could understand the Scottish accent... LOL
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
I have no idea why it doesn't grab your cookie value. Perhaps your running with register globals off? IIP isn't ready for that at the moment. Do you have that admin acount still available? I'll try it. I can't see why it isn't working...
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Thanks
Liahona
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
That's it done Only 2 mins to new year see you next year 
Thanks
Liahona
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
I logged in, went to the index page, clicked on the link and edited the configure panel options and updated your database. I didn't encounter any of the problems you have with the admin link.
I would suggest cleaning out your browser's cache and cookies. Perhaps you have some security setting to high or something. I really can't say what would be causing that problem.
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Hi Dave I deleted all cookies and Temp files Wen't to index.php The config link at bottom still says your page? Got your index page but I'm still not logged in, so I log in but it takes me to the main index which has no entrance link to go back to youe index page. Could it be the "set wide" thing can't remember where that is now? Nope not that already done.. What now?
Thanks
Liahona
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
You should be logged in before going to IIP's index page. The links in your forum's navigation bar are not in place. I'll put them in. 
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Ok I added the Entrance links. 
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Hi Dave
Yep, by golly that's done it.
That's probably why, I couldn't understand how to login and get back to the config page.
Now for some fun filling in the boxes and jazing up the site, can't wait for that new template now.
Thanks and have a good one.
Thanks
Liahona
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Your welcome  You have a great new year as well!
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Hi again I don't need to do this again do I - from config Various modifications need to be added to the database. Please make a backup copy of your database and then click this link: Modify My Database And the translation from before Och I the Noo Alright just now ah hefta git this dun afor you lot get pist I will have to get this finished before you people get tippsy with drink. Hiv a gid yin
Thanks
Liahona
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
No. I updated that when I was in there. It's done.  Can't (or shouldn't) start it up unless they were done. 
|
|
|
|
Joined: Dec 2002
Posts: 173
Member
|
Member
Joined: Dec 2002
Posts: 173 |
Thanks
Liahona
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
|
|
|
|
Joined: Jul 2002
Posts: 135
Journeyman
|
Journeyman
Joined: Jul 2002
Posts: 135 |
I don't want users who are not logged in to be able to post in the Shout box at all. They can read but not shout.
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
You can set it to be members only then in the configure panel. 
|
|
|
|
Joined: Mar 2001
Posts: 644
Member
|
Member
Joined: Mar 2001
Posts: 644 |
JustDave, GREAT addon!  I'm working on integrating this concept into my new site design, but.... *set's off the alarms* STUPID QUESTION TIME!  One of my forums is dedicated to my member's creative abilities in writing... stories, poetry, etc. I'd love to be able to use one of the custom blocks to list, say the last 5-10 posts, just subject lines and maybe author's name in a list. Any ideas or code snippets you can suggest to make this work? I already have a news forum set up to be the center piece for the page, but being able to set this up in a small box on the side would really enhance my site.  Or maybe it's already there and I just need to find it... I'll admit that I'm converting from .Classic so my Threads knowledge is still weak.  But I'm learning fast! Thanks in advance for any suggestions.  Zack PS. Happy 2003 everyone! 
|
|
|
|
Joined: Nov 2000
Posts: 210
Member
|
Member
Joined: Nov 2000
Posts: 210 |
[]Perhaps your running with register globals off? IIP isn't ready for that at the moment. [/]
Hi JUST an FYI I had no idea that this was the case and have been running with Register globals OFF on my main site for some time. is there a way to turn register globals on with an option via .htaccess PHP_Flag or something like that? or can I only turn this on via the conf file? Thanks
Pappy
|
|
|
|
Joined: Apr 2002
Posts: 141
Member
|
Member
Joined: Apr 2002
Posts: 141 |
Dave, I tried running the IIP.5.2.modifydatabase.php but nothing realy happens. I have the same problems running the altertable script for upgrading from 6.1.1 to 6.2. Screem gave me a hint for adding this: $step = get_input("step","get"); to the altertable script and that helped a little (see: http://community.infopop.net/2/OpenTopic?a=tpc&s=729094322&f=6103078913&m=8783028096 ) but I can still not completely run that script. I tried adding the same line to the IIP.5.2.modifydatabase.php but still nothing happening. I am running Win2k IIS5, pgp4.2 and mySQL 3.23.53 Anyone who knows what might be wrong? Best regards, Ron
Those who fail to read ask many questions:-)
|
|
|
|
Joined: Apr 2002
Posts: 141
Member
|
Member
Joined: Apr 2002
Posts: 141 |
Another thing I noticed that the script tries to create a configpal.php and that works. The file is created but no mather what your enter and update via editconfigpal.php, the variables in configpal.php remain empty:
// ================================================================================= // VERSION $palVersion = "";
// ================================================================================= // INDEX
// Display INITIAL SETUP box when editing the configpal.php script? $showinitial = ;
// url to index.php (no trailing slash / and don't include the actual file) $pal_index['URL'] = "";
// left column width $leftcolwidth = "";
// center column width $centercolwidth = "";
// right column width
ect...
Regards,
Ron
Those who fail to read ask many questions:-)
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Yes it's a case of register globals, I believe. I'll upload an updated zip file that should do the trick untill I can address this properly.  I should have the zip uploaded within the hour.
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
Thanks Zack  You could probably make the news addon in the ubbthreads/addons directory do exactly what you need. You can set it to list for a specific forum and set it's display properties. It's a clean little script so it would be a good starting place for someone just starting out.  You will also want to change this line: // Require the library require ("$path/main.inc.php"); to this: // Require the library require_once ("$path/main.inc.php"); Because your going to use this inside a pal box there is no need to require the library more than once as it will have already been done. 
|
|
|
|
Joined: Apr 2002
Posts: 141
Member
|
Member
Joined: Apr 2002
Posts: 141 |
Ok thanks Dave!
Still no update.....
......still no update.....
............still no update.....:-)))
Regards,
Ron.
Those who fail to read ask many questions:-)
|
|
|
|
Joined: Apr 2002
Posts: 141
Member
|
Member
Joined: Apr 2002
Posts: 141 |
[]I should have the zip uploaded within the hour. [/] Dave? 
Those who fail to read ask many questions:-)
|
|
|
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.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|