UBB.Dev
Posted By: JustDave Integrated Index Page (IIP) 5.3.1 - 12/28/2002 4:01 AM
Integrated Index Page (IIP) 5.3.1

Q: What is it?
A: It's an addon for UBB.threads 6.2 & 6.3 ONLY that will pull various information out of the forum for display as your main home page.
If you need a version for UBB.Threads 6.4 see this thread.

Q: What are the features?
A: The following information is displayed:

1. News Display - A configurable number of news/article posts and from different boards can be displayed down the center in the same fassion as the popular *nuke portals. Past news/articles can also be displayed along the right hand column (only).

2. Current Poll - This will display the most recent poll posted or may be set to pull a random poll out of the forum. This can be set to use a specific board also. Results will be displayed if the viewer has already voted for the poll. (based on username or ip address)

3. Top Rated Posts - This will display a list of X number of top rated posts in the past 24 hours.

4. Current Threads - This will display a list of new threads posted in the past 24 hours.

5. Top Posters - This will display a list of the top X number of posters.

6. Last Seen - This will display a list of members who have visited the forum most recently. This is not completely accurate because depending on what they are doing at the site their 'laston' information isn't always recorded. You can optionally add a code snippet that is included to your ubbt.inc.php file to make tracking updates instantaneous.

7. Short Stats - This will display various statistical information such as Total Users, Total Posts and New Users in the last 24hrs, 7days, 31 days.
Short Stats will also display "max online" information including how many and when.

8. Profile Spotlight - This will display a random profile listing username, location, hobbies and bio with a link to the full profile. You can specify required fields to be filled in before the user's profile is displayed.
Username has replaced Name (real name) in previous versions.

9. Quick Search - This will display a seach box that will allow for a quick search of the forums using the standard search default values.

10. Login/Status - This will display a login box or your current status including the number of private messages stored and links to edit your profile and display properties and email subscripitons. Unregistered or users not logged in will see the login box. Logged in users will see their status box.

11. Online - This box displays the number of registered and unregistered users online in the last 10 minutes. It will also list the usernames of the registered users. Usernames in bold italic text are invisible. (only admins see them)
You can set a maximum number of names to display and once that limit is reached a link to the "Who's Online" page will be included so users can view the full list.

12. Hot Topic - When a post reaches X number of replies it is displayed in this box with a flaming .gif

13. Menu - This box has various links to other features of IIP.

14. View More Polls - This generates a list of X number of poll posts per page with links to the post and board.

15. File Attachments - This generates a list of X number of file attachments per page. There are also sorting options to display only the files specified such as .txt or .zip files.
An attachment specific search feature has been added allowing the search for specific words or from specific boards.

16. New Member - This will display a message welcoming the most recent member. This will only be displayed for X number of days.

17. Recommend Us - This will display a short form for visitors to fill out and recommend the site to their friends.
Mail sent includes an updated header to ensure acceptance by your host. This header includes using the sender's name and email in the "from" section. When the email is recieved by the recipient the sender's name appears in the "from" area and not their email address. (hope that made sense)

18. Call Us Home - IE specific, will not (or should not) display for browsers other than IE. This will allow visitors to set the site as their home page.

19. Add to Favorites - IE specific, will not (and again should not) display for browsers other than IE. This will allow visitors to add the site to their favorites folder. Netscape users will see the "Press CNTRL-D to Bookmark" notice.

20. Shout Box - This displays "shouts" (quick, small postings) from guests or members in the order they were made. Admins can easily delete shouts that are offensive. The shout box does use the .threads nickname/language filters also to suppress such postings. You can optionally set this to refresh for members only or for everyone.

21. Profile Index - This displays members profiles in a sorted list. The profiles are searchable. Boolean (AND, OR, NOT) and wildcard * searches are allowed. This makes finding specific members easier than ever.

22. Cache Table - Information can be automaticly stored and updated in intervals to increase page generation times. Depending on setup, this can cut the number of queries used to generate a page by as much as 50% and large sites will see a considerable speed increase with generation times.

23. Configure Panel - IIP settings can be controlled via browser and allow for easy setup and managment of the features listed above.

24. Standards Compliant - IIP is XHTML 1.0 Transitional compliant and should render well in standards compliant browsers. This basicly means that the display should look the same from one standards compliant browser to the next.

25. Custom pal boxes have been added. You can edit the boxes and include what ever content and code you want to display and then manage their placement and display from IIP's configure panel.


Notes:

Information displayed is based on group access. If the viewer doesn't have access to your "staff" board IIP will not pull information from that board to generate the display. Larger sites can use the option "force public" to make IIP display only public viewable information which allows for more of IIP's features to use cache to speed page generation times up.

The more features you use the longer it takes to generate the page. If you don't need or want a specific feature, turn it off.

Instructions:

Download the attached file and unzip to a location of your choice. Follow the instructions (SETUP.txt) located inside the "pals" folder that was contained in the zip file. Please see the IIP FAQ (second post in this thread) if you have any questions BEFORE posting/asking for help.



Note: I put a file called eventspal.php in the zip. This file will display a configureable list of upcoming events pulled from the calendar modification found here at ThreadsDev. Open the file and edit the two variables and rename the file to custombox1pal.php and upload to your directory. I haven't tested it so let me know if it works.

Note: IIP 5.3 now uses the table wrappers that come standard with .threads 6.2


[:"blue"]Edit Note: I fixed a bug in the profile index. (Jan 13, 2003) Thanks goes to Nikos for pointing this one out. Download the zip and upload the new profilepal.php script.[/]

[:"blue"]Edit Note: shoutboxdisplay/shoutboxadd/shoutboxdel.php have been made to work around register globals being off. (Jan 17, 2003)[/]

[:"blue"]Edit Note: I somehow missed a couple hard coded "w3t_" table extentions in the profilepal.php script. I have updated the zip with the new profilepal.php script. Thanks goes to deltaJo. (Jan 19, 2003)[/]

[:"blue"]Edit Note: Updated the "Modify My Database" script to check for both upper and lower case table names just in case we are on a windows machine. Thanks ChAoS.(Jan 19, 2003)[/]

[:"red"]Edit Note: Since I am the self appointed "keeper" of IIP in JustDave's absense, I have updated this post to version 5.3.1 which will work with UBB.Threads 6.2 and 6.3. The only changed file from 5.3 to 5.3.1 is index.php and editconfigpal.php. No other changes were made. 4-15-03 by JoshPet[/]

Attached File
62709-IIP.5.3.1 Folder.zip  (958 downloads)
IIP FAQ -

Having trouble getting IIP instaled or configured?
Read these FAQ's first. If you question isn't answered, then post it to this thread.


OK - I got it running but it says "Index Closed - we are currently updating this page...". What have I done wrong?
It shows like that until you configure it. Scroll to the very bottom and click on the copyright IIP link (IIP 5.2 by David Lozier ©2002). That'll take you to the configure panel.




I click on the Copyright link and I go to ChattersOnline.
First, make sure you are logged in as Admin. Then, in your config file, make sure your cookies are set site wide. The cookie path should be "/".



There is no configpal.php in my zip!
The first time you run the IIP config panel, it will get created for you.
If you are upgrading, your settings will be updated from your current configpal.php file.




When I edit my config for IIP, my changes don't get saved! OR I get "Warning: fopen blah blah blah Permission Denied"
Try looking at the permissions of the /pals/configpal.php. The file should be 666. If that doesn't work, try 777. You might also need to adjust the permissions of the 'pals' directory to 777 as well.




My Entrance link looks like this: ]http://www.mydomain.com//index.php?Cat=?[/b]
Check both the config panel in IIP and your config file in threads for a trailing slash. Remove it, and you should be all set.




[b]When configuring IIP, can you turn off specific components like the Shot Box and have that part not display?

Yes, you can configure and arrange all the pal boxes just as you wish from the IIP config panel. You can choose to not display any boxes you wish.




The index page doesn't seem to change or show the most current information.
If you are running with the "force public" option, you are caching (storing) some of the information used. This makes it faster and uses less queries. When you are caching information, the information only updates every so often, as configured in your IIP setup.
As an admin, you can click on the little green circular arrow in the menu pal, that will refresh the cache and update all the pal boxes.



My private forums are showing up on my front page!!!
Fear not...your private info is still secret. If you are not using the caching abilities (force public) then all access will be based on the user groups. You are seeing that info because you can see those forums normally. A regular user will see only the forums they are supposed to.



I don't want unregistered users to be able to post in the shoutbox.
You can set the option to members only under the shoutbox section of the configure panel.



How do I edit the custom boxes?
Inside your pals directory, edit the files custombox1pal.php, custombox2pal.php, etc.. As needed.



I edited my custom pal boxes and now I am getting a parse error!
If you are including HTML links inside the PHP files, you must be sure to comment out the quote marks (by placing a \ before them), or else they will break the string.

For example.... To insert a graphic in your pal box.... You would need to change this:
<img src="http://www.mydomain.com/image/picture.jpg" alt="Picture" border="0" />

To this:

<img src="http://www.mydomain.com/image/picture.jpg" alt="Picture" border="0" />

You need to insert the \ before each quote in the HTML you will insert. Don't add the \ to any quotes that are already in there.



Sometimes my News gets "cut off" or stops short.
Try turning off the "strip HTML" options for the newspal settings.



My Random Profile doesn't seem to be that random. It kind of just ends up displaying a few users.
When you setup the Random profile, you have the option to require certain fields. Don't check too many of those boxes. It's best to pick a field or two. If you are too strict and require too many fields to be complete, then there won't be that many profiles to choose from in the random rotation.




I have my Hot Topic cache set to 10 minutes and 5 replies. I have refreshed my cache, but it still will not show up as a hot topic.
If the main thread was posted more than 24 hours it will not show up no matter how many replies it gets. Hot Topic only looks at threads posted in the last 24 hours.




Why do certain user's names show up bold and italic under last seen?
Because they are invisible users. You are seeing them because you are an Admin.



My Shout box has trouble conforming to the width of the column. Sometimes I have to scroll left and right.
Usually this is because a user has entered a very long shout without any spaces and it doesn't wrap, thus stretches things out. Just simply delete the shout by clicking the little "X" next to it, and it should go back to normal.




The news pal doesn't seem to list the posts in the order that they are in my forum.
The display is based on the main post of the thread, not replies. If you have dateslip on in your forums, then they will be ordered by the date of the most recent post. This setting does not affect IIP.




How can I add links to the menu on IIP?
To add stuff to the Menu box, you need to edit /pals/menupal.php.

Look for the last line:
echo "$tableEnd</td></tr>$tbclose<br />";

Just ABOVE it.... you can add stuff like this:
echo "$rowStart<a href="http:www.whatever.com/mypage.html">My Page</a>$rowEnd2";

You can add as many lines like this as you wish, to add them to the menu box.

It is important to ensure that for each " (quote mark) which occurs inside of 'echo "    "; has a \ in front of it, so it doesn't break the string.




Will there be more features?
Sometime in the future, (Release date, sometime this year.) JustDave plans to offer IIP Pro for sale. It's still in the works now, so stay tuned, but the main features of IIP pro will include:
1. Calendar (master/board/personal)
2. Picture Gallery (master/board/group/user)
3. Link Directory (master)
4. News/Reviews section (master)
5. Dedicated File download/upload area (master/board/group)

Other features:

1. Fully templated (XHTML compliant, of course)
2. Complete text seperation via language files
3. RSS news feed generation and external fetching (master/board)
4. Revised "swap language on the fly"
5. Dedicated "Admin" area (this just keeps growing)
6. Revised cache table (use rows, not columns)
7. Configureable "menu" system to simplify adding additional links

More features:

Yeah there is other things implimented or planned on that I can't think of at the moment... LoL
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 4:17 AM
Thanks for all the work Dave!!!!!! You deserve a hand for still working on things even when you're back is hurt like that...........
Posted By: sportbikes Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 4:19 AM
THANKS!!!!!!!!!!!!!!!!!!!!!
From a non-programmer... I really appreciate it!
Posted By: Dslam Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 4:36 AM
only 2 downloads so far? damn I thought this would be going like hotcakes hehe
[]https://www.ubbdev.com/images/panels/8214-2937.png[/]
Posted By: omegatron Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 4:53 AM
Thanks is your back any better?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 5:06 AM
Thank you Dave for all your efforts with IIP and your dedicated support to all of us here.

[]https://www.ubbdev.com/images/panels/9439-5241.png[/]

Posted By: omegatron Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 6:06 AM
[]https://www.ubbdev.com/images/panels/9520-12049.png[/]

Dave,

Couple things I noticed in the randomprofilepal.php is not U_Realname now just U_Name?? There is no U_Realname in my w3t_Users.

The modifyIIP queries did not create the U_LastSeen line in the w3t_Users . I added the query myself but it gave all kinds of weird times like 33 years, 3 days etc etc

so I switched back to the regular way of tracking

Great Job I love all the extra customboxes. Makes it easy to modify things
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 6:16 AM
Thanks. Will be updating the zip shortly.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 6:37 AM
Ok I updated the zip file. I was updating the table when I should have been altering... U_Name is the field, not U_Realname... not sure where I got that from... lol
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 6:42 AM
For those that have already installed this (2 or 3) you will need to run this query from your admin area:

ALTER TABLE w3t_Users
ADD U_LastSeen INT (11) UNSIGNED

Be sure to use what ever table prefix you have in use.
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 6:45 AM
Hiya Dave...... I am getting many many errors that I won't list here but when I go to the update my database link here's the message I get......

Unknown cache version (4.6) detected. Aborting update

So the database is never altered for the new version..... Any ideas??
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 7:09 AM
My mistake. There was no changes between 4.6 > 5.1 but I forgot to allow for that version number.

I'll be updating the zip in a minute or two.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 7:14 AM
I just updated the zip file.

You can edit IIP.5.2.modifydatabase.php and change this line:

elseif ($Cversion == "5.1") {

to this:

elseif ($Cversion == "5.1" || $Cversion == "4.6") {



That should do the trick.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 7:17 AM
Any Ideas on the enhanced Last Seen pal giving those unrealistic dates like I posted. I am listed a seconds ago everyone else is 33 years and so many days etc minutes
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 7:22 AM
Did you install the additional code into ubbt.inc.php?

If the field was created in the users table with that query I posted above it should be up to date.

When you manually added the field did you make it NOT NULL by default? That will cause a problem.
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 11:54 AM
Thanks Dave.... Appreciate your hard work on this.

Time to start installing 6.2

Of course 6.2.1 will probably be out before I have completed the install
Posted By: omegatron Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 12:43 PM
Mine was not NULL

I deleted it and started over and ran the alter command above and it works. Running the command GIVES it a NULL statement. Go figure. So anyway it works. One question though. Thenon enhanced way shows say lots of people say mins ago hours ago days ago etc.

When I switched to the enhanced it only showed me 0 seconds ago and no one else even though someone had been there 10 mins before. Is there some setting I am overlooking.

I tried changing the time limit to something say like 5760 which is like 4 days but it still shows only me.
Posted By: autoua.net Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 4:38 PM
I have this error message
code:
SQL ERROR: Unable to do_query: SELECT U_Username,U_TempRead,U_FlatPosts,U_ActiveThread,
U_Post_Format,U_PicturePosts,U_ShowSigs,U_Email,U_PictureView,U_Status,U_Privates,
U_Name, U_Title,U_Totalposts,U_Visible, U_Laston,U_Sort,U_Display,U_View,U_PostsPer,U_EReplies,
U_TextCols,U_TextRows,U_Language,U_TempPass,U_TimeOffset,
U_Groups,U_StartPage,U_Picture,U_Favorites,U_Number,U_Username,
U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage,
U_Number FROM w3t_Users WHERE U_Number = '3'
Unknown column 'U_Post_Format' in 'field list'
Warning: Supplied argument is not a valid MySQL result resource in
/var/www/html/autoua/auto_f/mysql.inc.php on line 130



May be this because I got some errors when I ran the altertable-6.1-6.2.php script.
http://community.infopop.net/2/OpenTopic?a=tpc&s=729094322&f=6183028913&m=5513013096

Can somebody post SQL Structure only for UBBT6.2? I will to compare with my SQL dump.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 5:43 PM
Untill people visit the board they have no value in the enhanced last seen time so it's overlooked untill the field is not null.

The new user field for the last seen time will be updated with every call to send_header so if you have the additional code in place it should be working.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 5:49 PM
Did you upload the new index.php script? Your query looks to be coming from the old one. The field it's trying to access does not exist in 6.2
Posted By: autoua.net Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 10:19 PM
Yes, I did upload new index.php script
This line from there
$palspath = "/var/www/html/autoua/auto_f";
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 10:43 PM
I just seached every file in the pals directory and the index.php page itself and I couldn't find the field U_Post_Format being referenced anywhere.

That query that's giving you the error looks to be the one that *used* to be in the index.php page. You may want to double check things to make sure it's uploading.
Posted By: autoua.net Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 11:06 PM
I just now redownload 62709-IIP.5.2.zip and reuploading. I seen this same errors.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 11:09 PM
I'll download the zip and check them over... perhaps I uploaded an old version?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 11:13 PM
I just downloaded the zip file and used the windows search feature to look for the word U_Post_Format in the files and it was not found. I don't know where your error could be coming from if this field isn't in the scripts...
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.2 - 12/28/2002 11:40 PM
Hey JustDave,

I thought I'd check in to let you know that so far I haven't had any problems with IIP

I did get the "Unknown cache version" error (mine was 5.0) but after a simple edit everything ran fine.

Custom PAL boxes rule
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 12:05 AM
That's good to hear!

I tried to make sure I had covered all reported bugs with this release. It was less of an update but I want to level it off at some point. When I get some time I'll work on getting the pollpal script to use cache correctly. I really wanted to get that in but I spent way to much time and still wasn't finished making it work right.
Posted By: autoua.net Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 12:34 AM
I found U_Post_Format. It is in index.php
code:

$user = $userob -> authenticate("U_Username,U_TempRead,U_FlatPosts,U_ActiveThread,U_Post_Format,
U_PicturePosts,U_ShowSigs,U_Email,U_PictureView,U_Status,U_Privates,U_Name,U_Title,
U_Totalposts,U_Visible, U_Laston,U_Sort,U_Display,U_View,U_PostsPer,U_EReplies,U_TextCols,U_TextRows,U_Language,
U_TempPass,U_TimeOffset,U_Groups,U_StartPage,U_Picture,U_Favorites,U_Number"); $myVer = ".: IIP $palVersion by David Lozier ©2002 :.";

Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 1:00 AM
Auto - looks like you have an old copy there - what does it say on the 2nd line? It should say 'Integrated Index Page (IIP) Version 5.2 (December 27, 2002)'

I am wondering if your FTP package did not upload and overwrite the file for some reason.

Ian
Posted By: autoua.net Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 1:15 AM
SQL ERROR: ..........

We are currently updating this page...
Version missmatch! IIP 5.2 will not work with UBB.threads™ 6.2.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 1:38 AM
Yes it would seem that your old index.php file isn't being replaced with the new one. Check your paths and perhaps even delete the old file from your server then upload the new one. That query your having problems with is from the old index.php page. The new one does contain the field that is causing problems.
Posted By: autoua.net Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 2:09 AM
Many thanks. If You have interest, could see my forums.

It is all because of oncoming New Year holiday. People of my country already began celebration. Moreover, We will have end of celebration 13-14 January

If You will made in next release "some_language.php", like UBBT. I can translate to russian, and send theirs to You
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 2:12 AM
I'm glad you got it going auto


Looking good too!
Posted By: omegatron Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 4:06 AM
Ok cool that makes sense now. I was scratching my head wondering why I was the only one there when I made that change yet in the Laston field everyone is there. COOL. Great Job. I did notice it is way more accurate than the laston entry.
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 5:25 PM
Dave,

Similar error to Storm getting...

'Unknown cache version (5.0) detected. Aborting update...'

I will try and manually alter the code.

Ian
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 5:34 PM
Uhgg... how many versions did I have in there... lol


The cache hasn't changed from 4.6 to 5.1.1 so them changes should work if you edit the file. I'll adjust the zip file so nobody else gets this problem.

Thanks
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 6:24 PM
Forget the massages man..... We're gonna have to use the money to buy you a seperate hard drive for each copy you play with.......hehe
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 8:34 PM
Not sure if this is my error, an Infopop error, or an IIP error

On forums, that allow un-registered people, I now see **DONOTDELETE** as the users name in the latest news boxes

This is also appearing in the shoutbox.

Any thoughts?

Ian
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 8:45 PM
Actually it's not really a bug but a display/taste issue...

Posts that belong to users that are deleted are assigned to the built in "place holder" user #1 which has the username **DONOTDELTE**

What I need to do is allow for this use to have a name specified by the admin which I think should be Anonymous since when a guest user posts the post is also asigned to user number 1.

The shout box is showing this same thing for anonymous shouts.



This is happening because everything is off the user number now and not user names in 6.2
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 8:54 PM
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.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/29/2002 9:41 PM
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.
Posted By: gblue Re: Integrated Index Page (IIP) 5.2 - 12/30/2002 5:39 PM
Thanks Dave,

Mine is working GREAT


Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 12/31/2002 4:48 AM
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.
Posted By: Gardener Shout box username - 12/31/2002 6:03 PM
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.
Posted By: JustDave Re: Shout box username - 12/31/2002 6:27 PM
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.
Posted By: JustDave Re: Shout box username - 12/31/2002 6:55 PM
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
Posted By: SchoolScandals Re: Shout box username - 12/31/2002 7:35 PM
How can we set it to not allow Anon users to use the shout box at all?
Posted By: JustDave Re: Shout box username - 12/31/2002 8:05 PM
How do you mean? So they can or so they can not use it?
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 12:56 AM
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
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:02 AM
hmmmm I'll look at the zip. Not sure what may be the problem. Maybe the wrong file is in there.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:07 AM
Yes was my mistake. I put the wrong index.php file in. The correct one is in right now.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:13 AM
Hi

Cheers and a Happy new year.

Keep well

Thanks
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:39 AM
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?

Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:44 AM
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
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:47 AM
Och I the Noo

ah hefta git this dun afor you lot get pist

eheh
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:50 AM
LOL

You had better translate for all the American's They never could understand the Scottish accent... LOL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:51 AM
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...
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:53 AM
I'll do it now
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:58 AM
That's it done
Only 2 mins to new year

see you next year
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:08 AM
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.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:24 AM
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?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:27 AM
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.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:30 AM
Ok I added the Entrance links.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:33 AM
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.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:36 AM
Your welcome

You have a great new year as well!
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:50 AM
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
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:51 AM
No. I updated that when I was in there. It's done.

Can't (or shouldn't) start it up unless they were done.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 2:53 AM
ta
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 6:55 AM
Testing something....
Posted By: SchoolScandals Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 7:15 AM
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.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 7:27 AM
You can set it to be members only then in the configure panel.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 9:28 AM
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!
Posted By: Pappy Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 1:41 PM
[]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
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 3:45 PM
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
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 4:10 PM
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

Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 5:26 PM
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.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 5:32 PM
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.
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 6:26 PM
Ok thanks Dave!

Still no update.....

......still no update.....

............still no update.....:-)))

Regards,

Ron.
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 7:43 PM
[]I should have the zip uploaded within the hour. [/]
Dave?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 7:51 PM
Actually I went outside to install the car cd player my brothers got me for Christmass. Still installing. Sorry....
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/01/2003 7:52 PM
no problem Dave. There are more important things in life:-))
I can wait a bit.

Ron.

P.s. Don't blow it up. A car stereo is harder to fix then a "bug" in a scipt:-)
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 2:16 AM
I just uploaded the updated zip file. This should work with register globals off.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 3:14 AM
Hi Dave

I would like a box for "on this day in history" you know the one that pulls up a sentence for a perticular day of the year, or is there one I have not fond?

Have fun
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 3:28 AM
Hi Dave

When is the new template going live, or is it out if so where, you know the blue one with 3d boxes

Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 3:58 AM
HotScripts.com should have such a script available. You may want to see what they have available. Currently there is no such feature in IIP.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:02 AM
I'll be releasing my template/css mods in a package at some point after I have another 4 or 5 color schemes finished. This should offer users enough choice that nobody has to be upset that they are stuck to just one.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:05 AM
Thanks for the tips Dave.

I made the appropriate edits to UBBTnews.php and called it up, and it pulls exactly what I need. BUT, I can't get it to work within the custom box.

Remember I'm pretty new at PHP, but I have some programming background and can usually muddle through. hehe

The error I'm seeing right now is:

Parse error: parse error, unexpected T_VARIABLE in c:\webs\softest\threads\pals\custombox1pal.php on line 31

If I've read this correctly, I need to edit the following variable in custombox1.php:

$TempStorage .=

I've attempted to call the ubbtnews.php script via an include, but doesn't seem to work, as noted above.

Currently the line looks like this:

$TempStorage .= "include "$thispath/addons/ubbtnews.php"";

I've tried it a few different ways, that I thought would work, but it's just not right.

So... any advice Dave? Or anyone?

Thanks!
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:07 AM
Hi dave

That's great, your doing a great job. (not forgetting the others, well done)
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:12 AM
$TempStorage .= "include "$thispath/addons/ubbtnews.php"";

is not correct.

That variable is for adding what ever content that's generated by your code into IIP's cache table. I would recommend using box 4,5 or 6 and replace this:

echo "Admins: Your custom content and code can be added to this box by editing the custombox4pal.php script located in the pals directory.";


with this:


include "$thispath/addons/ubbtnews.php";





To add output to a box that uses cache you need to replace all of your code's echo statements with this: $TempStorage .=

Example:

This: echo "Hello World";

becomes this: $TempStorage .= "Hello World";




Hope that helps.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:25 AM
Hmm, that's what I was trying to do, but good to know that I was using the wrong custom box.

Unfortunately, it doesn't show anything in the box. If I place it on the left, it expands the box title to the width of the page and nothing after shows. If on the right, there's just nothing.

Back to the drawing board! *bangs head on desk*
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:29 AM
If I get a chance later I'll post some code to do what your trying to accomplish. You'll be able to see what you have done correctly and what needs changing.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:33 AM
No sweat, thanks Dave.

I'm just tenacious when it comes to problem solving. Unfortunately, I sometimes get blinded by the problem and can't see the answer, even when it's right in front of me.

Will check back later. *gets a hammer*

Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:56 AM
I'll be putting the code up tomorrow. I just realized how late it's getting here and I have to get going early in the morning.
Posted By: SchoolScandals Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 6:04 AM
Okay, so I put everything up and it's working fine until I click "Modify my database." much like the 6.1-6.2 update It doesn't do anything at all.. Any suggestions/advice? Sorry if this has allready been covered I missed it.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 6:27 AM
[]I'll be putting the code up tomorrow. I just realized how late it's getting here and I have to get going early in the morning. [/]

No need Dave. *throws down the broken hammer*

I finally got it! LOL

You said to change this:

[:"red"] require ("$path/main.inc.php"); [/]

to

[:"red"] require_once ("$path/main.inc.php"); [/]

which I did of course. But that was the problem in the end.

Once I commented it out, bingo, works perfect.

I can't say why, because I am just not that good and I'll admit it. But I'm not gonna complain.

Thanks for the tips and advice, couldn't have done it without your guidance and patience.

Zack
Posted By: msula Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 7:06 AM
Hmm... hey Dave. Just upgraded to 5.2, but the index page won't go online. The config variable at the very end is set to 1.. but still isn't working.

EDIT: I'm an idiot.. I forgot to turn my forums back on, I turned them on and it worked fine, lol. Its too late for this crap
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 9:57 AM
Thanks Dave,

It works like a charme now.
Could it be that this problem is simular to the problems I have using the altertable script to upgrade to 6.2?
I would realy like to upgrade to 6.2 but the script "hangs" at step 3. I know this is off-topic but maybe you could drop me a PM?

Regards,

Ron.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 2:34 PM
That's possible. I remember seeing Rick mention needing to add a $step = get_input("step","get"); line to one of the alter table scripts.

I'll be back in later this morning. I'll take a look at the alter table script then.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 2:38 PM
That is odd. require_once will load main.inc.php only *if* it hasn't already been loaded. If your just using require its being loaded no matter what. So, require_once must think you didn't need it because it's loaded yet it's not working because it wasn't. LoL make sense?


Glad you figured it out. Good job.
Posted By: Sat4all Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 2:54 PM
Me understand nothing:-))
Can you tell me what to do in English? I have close to -0- PHP programming knowledge.

Regards,

Ron.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/02/2003 4:10 PM
That reply was to Zackary. Your problem is unsolved and I wont have time to look over any scripts untill later today, if I get the time. Check at Infopop in the installation board. I would bet the information is there as I seen something along the lines of what your having a problem with posted there.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.2 - 01/03/2003 12:30 AM
[]That is odd. require_once will load main.inc.php only *if* it hasn't already been loaded. If your just using require its being loaded no matter what. So, require_once must think you didn't need it because it's loaded yet it's not working because it wasn't. LoL make sense?


Glad you figured it out. Good job. [/]

That's what I was thinking Dave... is it being called somewhere prior to that in that page? I guess I don't know php well enough to say, but it's just looking for it, why would it hurt to load it again anyways? Hehe.

I tried it both ways, require_once and just require and same thing both times, until I commented it out. *shrug* If it works, don't fix it.

Really do appreciate the help though.
Posted By: ChAoS_dup1 Re: Shout box username - 01/03/2003 5:52 AM
Is v5.2 compatable with version 6.1.1 of UBBTHreads?
Posted By: JoshPet Re: Shout box username - 01/03/2003 7:00 AM
No.... anything written for 6.2 would be based on usernumber... lots of database fields have changed.
Posted By: ChAoS_dup1 Re: Shout box username - 01/05/2003 2:49 AM
Drat.They released 6.2 two days after my support ran out.Looks like I will have to renew.I do have the beta DL though muwahahaha
Posted By: shortbus Re: Shout box username - 01/06/2003 3:50 AM
I was wondering if there is a way to disable the categories/forums that you use for the news on the IIP so that they are visible only there (IIP)and not in the forums. I have too many forums already and since these are only for my use, they just clog up the already long list of forums.

Dave?

Thanks
Posted By: JustDave Re: Shout box username - 01/06/2003 4:00 AM
Not off hand. I forget but if you change the access of the forums to nobody or only admins but still use them for the news display they may work in IIP only then. Not sure though.
Posted By: shortbus Re: Shout box username - 01/06/2003 4:02 AM
yeah, that's what I was wondering. Guess I could try it and see. I just figured if you did that they'd be invisible on IIP too.
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 5:53 PM
i'm having the same problem liahona did on page 5, logged in on my main forums but not for the IIP page.
i changed the config.inc for sitewise cookies but it still doesnt seem to be working.
whats my next step?

EDIT - does the IIP have to reside in the ubbthreads directory for it to work?
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 6:06 PM
ok, i got off my butt to try it out.
it works if it's in the ubbthreads directory, but not if it's outside.
is this how it's designed dave?
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 6:30 PM
ok, stuck again.
i got it running, went through the install business, but i cant figure out how to open it!
it says

Index Closed

We are currently updating this page...

what have i done wrong?

also, when i update the config settings for it, the editconfigpal.php, it doesnt save my settings. i click on the link in the copyright bit and the original settings are there.

Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 6:56 PM
Try looking at the permissions of the /pals/configpal.php. If your settings are not being saved, most probably the php page cannot write to that file.

CHMOD 777 for unix or Write/Modify access for Windows should do the trick.

The reason that you get this page is because the configpal.php has not been updated, the IIP thinks you are still in configuration mode.

Warm regards

Nikos
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 8:14 PM
Hi monkeyra

[] I'm having the same problem liahona did on page 5, [/]

I think this is on page 2.........

If so then I opened an admin account for Dave who went in and fixed it, took him about 2 mins.

I'm sure he will do it for you if you still have the problem.

Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 9:39 PM
[]Try looking at the permissions of the /pals/configpal.php. If your settings are not being saved, most probably the php page cannot write to that file.

CHMOD 777 for unix or Write/Modify access for Windows should do the trick.

The reason that you get this page is because the configpal.php has not been updated, the IIP thinks you are still in configuration mode.

Warm regards

Nikos [/]

bingo!
now, is it safe to leave all these set to 777?
Posted By: Pappy Re: Integrated Index Page (IIP) 5.2 - 01/09/2003 11:01 PM
I think the directory needs 777 and the file needs 666
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 12:41 AM
[]Hi monkeyra

[] I'm having the same problem liahona did on page 5, [/]

I think this is on page 2.........

If so then I opened an admin account for Dave who went in and fixed it, took him about 2 mins.

I'm sure he will do it for you if you still have the problem.

[/]

The reason I offered a hand was mainly to see what could be causing the problems you described. Unfortunately I didn't experience any of the problems and didn't gain any insight as to their cause.

I'll gladly set IIP up for anyone for a small fee though.
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 2:40 AM
dave, is it possible to change the order of the posts in the shoutbox? ie, recent on top rather than having to scroll down each time, i know it's kinda opposite of IRC, but it's bugging me, lol.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 3:06 AM
The window should auto scroll down after it's loaded. It's worked that way in Opera 7.0, Mozilla 1.2, IE 6.0 and Netscape 7.0 when I tested.

Opera 6.0 can not deal with the IFRAME tag's width being set in a percentage but 7.0 is looking great.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 11:59 AM
My time now :P

In my test site with IIP 5.2 and UBBT 6.2, I am loosing the profile box all of a sudden. If I click refresh cache, then the box is displayed. If I refresh the page a new profile is being displayed but only because the RefCache parameter is passed in the Index.php.

If I click on Main Index and back to Entrance, the profile disappears....

Totally baffled or really tired, I can't seem to find a solution for this... :P

Warm regards

Nikos
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 1:24 PM
i also noticed that yesterday as well, so your not alone. it's not a problem for me though because i'm not going to be using it.
are there add-on hacks available for IIP? i've seen a few sites around where you can choose languages and other stuff in these "portal" pages as i call them.
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 1:39 PM
ok, i've got one more final question (sorry, heh). I'd like to change the titles of the boxes. (ie, menu, shoutbox etc). I can do it in the custom boxes, but i cant see how to do it for the others. is it embedded somewhere else?
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 1:57 PM
All the language strings are located in the languagepal.php. Find what you need and change it accordingly

Warm regards

Nikos
Posted By: JustDave Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 2:13 PM
I think it's simply not grabbing a profile because of an "out of range" type of error. I have seen this too but haven't had the time to track it down.
Posted By: monkeyra Re: Integrated Index Page (IIP) 5.2 - 01/10/2003 3:15 PM
[]All the language strings are located in the languagepal.php. Find what you need and change it accordingly

Warm regards

Nikos [/]

thanks! never thought of looking in there!
Posted By: cstaber Three Questions... - 01/11/2003 9:39 PM
One, my shout box isn't working...In the config it says the forum is created, no one has access...You click Shout and nothing happens...IE reports an error: line 29 char 1 Object Expected...

Also, on my news page (set to Announcements in the Chat House Category)...it just displays a link to the post...not the text/body of the post or the first X Characters...how do I fix that?

Finally, I want to edit a custom box to have just links (never changing) kind of like a second menu- how do I do that? Thanks for your help!

http://www.rotrader.com/index.php
Posted By: JustDave Re: Two Questions... - 01/11/2003 10:23 PM
You must have some javascript or other code that's causing problems for the javascript used in the shoutbox. It's hard to say what without me looking at it.

It sounds like you have the news fields under this line:
Set these to FULL for displaying all or a number (150,200,250...) for X number of characters or NONE for no body display. (Does anyone really use NONE?)

set to "NONE".

Is that the case?

If so set them to a number or FULL.


Or perhaps you are stripping HTML and have a tag in the begining and ending of the news post in which case the entire post would be stripped.


Or... once again it's hard to guess what the problem may be without looking.

Posted By: JustDave Re: Three Questions... - 01/11/2003 11:44 PM
Check and make sure you have no trailing slash in for your $config['phpurl'] value. The shout page is trying to pull javascript from an url with a double backslash in it. That's what's causing your problems. (user error)

<script language="javascript" type="text/javascript" src="http://www.rotrader.com//forum/pals/java/javapal.php"></script>


Open a custom pal box, for instance custombox6pal.php and change this:

echo "Admins: Your custom content and code can be added to this box by editing the custombox6pal.php script located in the pals directory.";

to this:

echo <<<UBBTPRINT


Place all of your standard html code here.


UBBTPRINT;


Hope that helps.
Posted By: cstaber Re: Three Questions... - 01/12/2003 2:49 AM
K, the ubbprint is exactly what I needed...I checked my config and sure enough there was a double slash there...which doesn't make sence as I've never manually edited this file, just used the setup script and went with the defaults it found...*shrugs* anyway, removed one...and it still doesn't work...any other ideas? Or maybe something else I have to do? I check the sourse and it now shows a single slash..Thanks for your help
Posted By: JustDave Re: Three Questions... - 01/12/2003 2:53 AM
The ubbprint was for your 3rd q. The double slash was for the first q. I think you had solved the 2nd q or it worked itself out.
Posted By: cstaber Re: Three Questions... - 01/12/2003 3:00 AM
Yeah For my third..I just deleted the line that said echo $custombox1string (or something like that) and put the code there and it works

And my second it just didn't pick up the text of a post that was there befor installing iip...just reposted the original post

Just can't get the shout box to work hehe
Posted By: JustDave Re: Three Questions... - 01/12/2003 3:32 AM
Is the java directory and javapal.php script world readable?

I'm not sure why but it seems as if the javascript isn't being loaded.
Posted By: cstaber Re: Three Questions... - 01/12/2003 3:34 AM
Yup! That was it! I'm all set (for now hehe) Thanks a bunch!
Posted By: junhyok Re: Something worng... *DELETED* - 01/12/2003 5:24 AM
Post deleted by junhyok
Posted By: JustDave Re: Something worng... - 01/12/2003 5:30 AM
Nothing has changed from 5.2 to 5.3 other than that IIP now uses the table wrappers that come with .threads 6.2 so I don't know what may be causing your problem.
Posted By: junhyok Re: Something worng... - 01/12/2003 5:34 AM
That was my mistake!! Sorry
I'm confused setting the option "strip Html".

But the poster's picture still not showing.
Posted By: JustDave Re: Something worng... - 01/12/2003 5:51 AM
I just tested the picture settings. They worked for me. Not sure why they are not working for you.
Posted By: junhyok Re: Something worng... - 01/12/2003 6:09 AM
It showing for unregistered user only...
Memeber can't see the picture.

And another question, when I turn on the strip HTML option(set to 1) some boards that I appointed to NEWS doesn't show the masseges.
Is it normal?

Posted By: 3DSHROOM_dup1 Re: Something worng... - 01/12/2003 6:19 AM
For some reason when I try to do www.myserver.com/somedir/index.php?RefCache=1

I get "This page cannot be displayed".... in IE

and an "Alert - The document contains no data" in Netscape 7

It worked fine the first time that it ran after running editconfigpal.php but since then it's given the errors. Everything else seems to work fine though... I've been having this problem since 5.2. Any ideas?
Posted By: JustDave Re: Something worng... - 01/12/2003 6:22 AM
If your news message has html in the begining and at the end everything may be stripped out and nothing left. Best to use html sparingly in the news posts.
Posted By: JustDave Re: Something worng... - 01/12/2003 6:23 AM
Nope, no clue what could be happening there. You can always click on the green circular arrow next to the "Entrance" menu item to refresh cache as well.
Posted By: junhyok Re: Something worng... - 01/12/2003 6:24 AM
Here's what I got...

When turn on strip HTML on :
[]http://www.doobic.co.kr/strip_on.gif[/]

When Trun off strip HTML off :
[]http://www.doobic.co.kr/strip_off.gif[/]

The seeting of my NEWS :
[]http://www.doobic.co.kr/setting.gif[/]

Thanks
Junhyok
Posted By: oceanwest Re: Something worng... - 01/12/2003 8:12 AM
I installed everything as instructed. I checked permissions. When I click submit nothing happens! I can't get it to save the configs... What am i doing wrong?

I go to the index.php and it still says "We are currently updating this page..."
Posted By: 3DSHROOM_dup1 Re: Something worng... - 01/12/2003 8:14 AM
[]You can always click on the green circular arrow next to the "Entrance" menu item to refresh cache as well.[/]

I've tried that and it gives the same result.
Posted By: JustDave Re: Something worng... - 01/12/2003 8:25 AM
In the configure panel make sure that the URL to your index is correct. No backslashes at the end and dont include the actual index.php file in the url. This may explain why the green refresh icon doesn't work but if your typing the url in manually with the refresh command it should work that way.

I haven't had any problems like this before on my own sites so it's not easy for me to figure out what is going wrong.
Posted By: JustDave Re: Something worng... - 01/12/2003 8:28 AM
What does it do?

Does it look as if it updates then goes to the index page?

Posted By: oceanwest Re: Something worng... - 01/12/2003 9:41 AM
Got everything working except that the Mew User Box doesn't show "New User" for the title of the box. Why?
Posted By: JoshPet Re: Something worng... - 01/12/2003 1:50 PM
Make sure you languagepal.php file has this line in it.

$pal_NewMember[0] = "New Member";

Did you edit the newuserpal.php file?
Posted By: Gardener Re: Something worng... - 01/12/2003 2:36 PM
Are you using greedy regexps?

I had some trouble with this as well, everything in the body was stripped when there was some html in it.
Posted By: JustDave Re: Something worng... - 01/12/2003 4:55 PM
Yeah I need to work on the regex that strips the html. It's blunt to say the least... lol
Posted By: JustDave Re: Something worng... - 01/12/2003 5:00 PM
When I switched over to using .threads table wrappers the new user title got overwritten. I'm updating the zip after this post.
Posted By: Liahona_dup1 Re: Something worng... - 01/12/2003 5:11 PM
Hi Dave

I have updated to 5.3 and updated ok.

Just thought I would let you know as I had problems with the last 2 updates not showing your link to the config, I think I know what I did wrong or rather what I did not do, and that was that I forgot to CLOSE my forum before uploading, well, I think it was that anyway, havn't tried some new things if any yet but great job again...

Thanks....I'll be back
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.3 - 01/12/2003 7:58 PM
A smooth upgrade JustDave, no problems at all (except with me not modifying a custom pal box correctly -fixed)
Posted By: oceanwest Re: Something wrong... - 01/13/2003 12:47 AM
I didn't edit newuserpal.php and languagepal.php has the line you mention.
Posted By: JustDave Re: Something wrong... - 01/13/2003 1:23 AM
When I switched over to using .threads table wrappers the new user title got overwritten. I'm updating the zip after this post. If you upload the newuserpal.php script from the current zip it should fix your problem.
Posted By: armyocs Logo Missing - 01/13/2003 11:14 AM
Hi,

Somehow I have no copyright logo at the bottom of my forum, what did I do? I dont want anyone to think I removed it, can someone tell me which file I need to edit to ensure it is on there?

This is the part-

"UBB.threads™ 6.2

.: IIP 5.2 by David Lozier ©2002 :. "

I am getting the debug stuff though,

Thanks for the great program,

-Jason
Posted By: Dalantech Re: Logo Missing - 01/13/2003 11:17 AM
Isn't:

IIP 5.2 by David Lozier ©2002

the copyright?
Posted By: armyocs Re: Logo Missing - 01/13/2003 11:34 AM
I think so but I dont ahve that, the text I posted was from the Threadsdev homepage. Mine just has my custom footer.

Thanks!

-Jason
Posted By: Dalantech Re: Logo Missing - 01/13/2003 11:44 AM
You got me

I'm not sure why it's not there, in fact it is the hyperlink that you need to get to the IIP admin panel.

Do you have cookies set site wide in your admin / edit config settings page?
Posted By: armyocs Re: Logo Missing - 01/13/2003 11:54 AM
Yeah, I had to guess to get to the IIP admin panel. But I read in the install he doesnt want us to remove it and mine is gone, dont want to look like a jerk. But I have no idea what is wrong since I dont remember editing any of the templates except the ones in the install.txt

Posted By: JustDave Re: Logo Missing - 01/13/2003 2:04 PM
That's odd. I'll have to give that some thought. Is the Infopop copyright notice at the bottom? Mine gets tacked on to the end of the .threads version string.
Posted By: armyocs Re: Logo Missing - 01/13/2003 7:42 PM
No that is gone too,

Thanks again for the help,

-Jason
Posted By: JustDave Re: Logo Missing - 01/13/2003 7:45 PM
Have you edited your send_footer function in ubbt.inc.php or edited the ubbt_footer.tmpl file in your templates directory? Something has probably changed in them locations that isn't allowing the information to be displayed.
Posted By: armyocs Re: Logo Missing - 01/13/2003 7:49 PM
That was it!

I forgot I had edited that to get rid of the bottom table with the email contact (I didnt like it) and must have zapped everything. I went into my zip got the original and restored it.

Thanks!

-Jason
Posted By: JustDave Re: Logo Missing - 01/13/2003 7:52 PM
Your welcome
Posted By: oceanwest Re: Something worng... - 01/13/2003 8:39 PM
Any one figure out why I can't see "New User" or find a title for the New User Pal? It's the only one that dosen't showup.. Let me clarify. the new user shows up but there is no title for that Pal Box... Sugguestions? Thanx
Posted By: JustDave Re: Something worng... - 01/13/2003 10:54 PM
[]Any one figure out why I can't see "New User" or find a title for the New User Pal?
It's the only one that dosen't showup..

Let me clarify. the new user shows up but there is no title for that Pal Box...

Sugguestions?

Thanx [/]

I've replied to this question twice:

https://ubbdev.com/threads/php/...mp;Number=64610&Main=64815#Post64610

https://ubbdev.com/threads/php/...mp;Number=64679&Main=64815#Post64679

When I updated IIP to use .threads wrappers the title got overwritten by mistake. Please download the current zip and upload the newuserpal.php script. Thanks.
Posted By: caymuc Thank you - 01/14/2003 12:22 AM
Also a big THANK YOU for this great hack from me and my users.
Posted By: JustDave Re: Thank you - 01/14/2003 12:57 AM
Your welcome
Posted By: oceanwest Re: Thank you - 01/14/2003 4:16 AM
Dave,

Thank you for your help. Sorry about the double post. What you have provided works great.

Thanks again.
Posted By: lauraz Re: Thank you - 01/15/2003 12:08 PM
I upgraded from 5.2 and I get this error when I click "UPDATE IIP 5.3 SETTINGS"

Parse error: parse error, unexpected ':' in c:\inetpub\wwwroot\wwwthreads\index\index.php on line 29

I didn't run the modify database... I thought I didn't have to if I was upgrading from 5.2?

Oh bugger.

Ta for any help.
Posted By: JustDave Re: Thank you - 01/15/2003 2:26 PM
No there's no database changes. Not sure what is happening with your setup. Did you upload the new index.php file as well?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/15/2003 10:19 PM
Dave... had my first occasion last night to install 5.3.

Good work. I see new features and options above the early version of 5.2 I had. Good work.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 2:16 AM
Thanks

I've made upgrading a bit easier. There is no configure file included with the package now. It's dynamicly generated with a fresh setup. If one does exist it's loaded and the values are used to generate the new one. At this point I think it's pretty simple to set up by anyone.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 2:29 AM
Ooooh... good idea.

Rick should adopt that for threads... because overwriting your main.inc.ph, config.inc.php and theme.inc.php file with threads is a bitch.

I've been there/done that a few times.

Great thinking as usual.
Posted By: lauraz Re: Thank you - 01/16/2003 11:27 AM
Hmm Odd do you think I should delete the lot and try a fresh install?
Posted By: dimopoulos Re: Thank you - 01/16/2003 1:00 PM
You shouldn't need to laura.

If on the other hand you want to do that, I suggest using a tool like Beyond Compare (www.scootersoftware.com).

You can download the files from this post and put them on folder A. Get the files from your site and put them in folder B. Then run a compare between the two folders. Your main concern would be the index, configpal and any customboxpals you have used so far (if any).

Warm regards

Nikos
Posted By: PKassab Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 5:45 PM
Dave I have a small problem i just finished installing this and there is no configpal.php in the zip, Am I missing something or what?

Peter
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 5:51 PM
Try logging in as an administrator and clicking at the link at the bottom for IIP so that you can configure your boards. When you click on the UPDATE of the editconfigpal.php the file will be created.

If you have an existing installation and the configpal.php already exists in your pals folder, log into your boards as the administrator and again do the same thing as above. This will update the configpal.php with the new settings.

I hope this helps.

Warm regards

Nikos
Posted By: oceanwest Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 8:56 PM
Why has my Index.php page all the sudden fail to load? I have tried it from other machines and it doesn't respond.

help...

http://www.fmforums.com/index.php
Posted By: 3DSHROOM_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 9:07 PM
[]Why has my Index.php page all the sudden fail to load? I have tried it from other machines and it doesn't respond.

help...

http://www.fmforums.com/index.php [/]

I have the same problem. It works fine for the first day or so... Then it just stops working.. I'm almost positive it has to do with the way info is cached.. but I'm not positive.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 9:27 PM
The latest version doesn't have a configpal.php file.... The first time you install it, if it's not there, the online config editor will create it.
Posted By: oceanwest Re: Integrated Index Page (IIP) 5.3 - 01/16/2003 11:39 PM
Anyone elses experience this? Are there any solutions to fix it?
Nobody can acces my main site!
Posted By: 3DSHROOM_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 12:34 AM
I'm wondering if it is caused by users hitting their "Stop" button in their browser halfway through loading the page while it is cacheing things... Due to the amount of info on my site it takes anywhere from 10 to 30 seconds to load the page.

I figured I would mess around with it a little more and low and behold, it started working again! I have a feeling that if I open it back up to the public it will stop working again...
Posted By: oceanwest Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 12:40 AM
My browser gets an error, and aborts loading the page.

-back to my html version till this gets solved...
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 3:31 AM
I wonder if somebody hits "stop" or clicks a different link while it is updating the cache, what happens.

I've used the cached birthday info on my site (custom pal) and sometimes it comes up blank. I bet it blanks out if someone stops it from updating..... then it doesn't update again until the cache time comes around again. Just a theory.
Posted By: junhyok Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 8:07 AM
Thanks Dave! I installed this hack and it look so great.
But I having problem to use Shoutbox.

It cannot write the text to Shoutbox.
please check my site and help me.

http://www.doobic.co.kr/ubbt/index.php
ID:test
pw: test

Thanks in advanced
Junhyok
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 9:20 AM
I can't seem to access your site.... but did you create the shoutbox forum?
Posted By: junhyok Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 11:12 AM
Oops! sorry...
Now you can see the shoutbox ^^
Posted By: 3DSHROOM_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/17/2003 8:09 PM
[]I wonder if somebody hits "stop" or clicks a different link while it is updating the cache, what happens.

then it doesn't update again until the cache time comes around again. Just a theory. [/]

Exactly! If you see my post above you will see I said basically the same thing:

"I'm wondering if it is caused by users hitting their "Stop" button in their browser halfway through loading the page while it is cacheing things... Due to the amount of info on my site it takes anywhere from 10 to 30 seconds to load the page."

Then the page starts working again after the cache time has passed for the box that was working while "stopped".

Maybe try using:

ignore_user_abort(1);

??
Posted By: deltajo Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 4:21 AM
I can't get my config to.... well actually...... ok here's the thing: in configpal.php my $pal_index['URL'] = line is set to the location of my threads installation, which is in a folder which contains a dash (ie., http://www.blah.com/dah-dah) and I'm wondering if that why when I click on the menubar link to get the index.php page (the IIP page), it comes up as the wrong folder (it comes up as www.blah.com/index.php rather than www.blah.com/dah-dah/index.php).

This causes a string of trouble.... the menupal doesn't work properly as a result, and so on.

OK so maybe that's not why that happens. But it's happening and I can't get it to stop!
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 4:21 AM
I can't see how stopping the page from loading would keep the script, located on the server, from not finishing.

When the index loads information is pulled form the cache table.

This information remains constant and is only updated if needed.

At the end of the script the cache is updated with the new information by replacing the old information already located there.

I can't see how stopping your browsers display of the page would also stop the script in it's tracks on the server. That just doesn't seem right.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 4:44 AM
[]I'm wondering if it is caused by users hitting their "Stop" button in their browser halfway through loading the page while it is cacheing things... Due to the amount of info on my site it takes anywhere from 10 to 30 seconds to load the page.

I figured I would mess around with it a little more and low and behold, it started working again! I have a feeling that if I open it back up to the public it will stop working again... [/]

You should adjust that down so it doesn't take so long to load. If a page is taking 30 seconds to load the script could very well time out depending on your php.ini settings. If that happens cache would not be updated.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 4:48 AM
The dash in the folder name shouldn't be any problem. I can't think of anything that would see it as one code wise. How are you configuring your setup? Manually? Or via the online configuration panel? All configuration should be done via the online setup.

The "Entrance" link in the navigation bar is based on your .threads $config['homeurl'] located in your config.inc.php file. Change the "Entrance" links in your navigation templates to what you want them to be.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 4:52 AM
dimopoulos' answer to this is correct.
Posted By: deltajo Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 5:13 AM
I've done the config through the online setup.

My Threads config.inc.php file is correct. I've changed my ubbt_registerednav.php (etc) file to get rid of the $config['homeurl'], but menupal requires a lot more figuring out.

Anyway, no problem. Thanks for your help.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 5:26 AM
Out of curiosity could you set IIP up in a directory without the - to see if it works correctly? I looked at menupal.php and can't see what may be causing this.
Posted By: deltajo Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 5:31 AM
yeah I had it set up that way at first as a test to make sure I wanted IIP (and it worked fine)..... that's how I deduced that maybe that was the prob.

(...don't think menupal is the problem -- it seems to be {$config['homeurl']} that's wrong... for some odd reason.)
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 5:36 AM
I just went over menupal.php again and am not sure what could be causing the problem. Let me know what you figure out. Thanks.
Posted By: 3DSHROOM_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 6:38 AM
[]
You should adjust that down so it doesn't take so long to load. If a page is taking 30 seconds to load the script could very well time out depending on your php.ini settings. If that happens cache would not be updated. [/]

Adjust what down? I have many of the default settings (like how many top threads, etc to show) cut down to a lower number.

My php.ini is set to have a max execution time of 30 seconds but I've seen them go for longer (for some odd reason). I just did a RefCache and:

Generated in 40.481 seconds in which 40.361 seconds were spent on a total of 28 queries. Zlib compression enabled.

I made it available on my site again (adding the ignore_user_abort and max_execution time just in case), and it's been working fine so far.. hopefully it will stay that way.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 6:51 AM
Install tip for 5.3 - make sure your Pals directory is writable or else the config file won't be created.

Also, question.

I set this up here:
http://199.231.148.190/ubbthreads/index.php?Cat=

The shoutbox doesn't work. The board is created and an entry gets made in the Posts table..... but the body and subject is blank.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 6:54 AM
Are you using "force public"? Perhaps removing a box or two that are not that important to you for your index or just increasing their cache times so they are not updated as often would help. You may also want to exclude some public boards if you are using "force public" to limit the amount of data that's accessed to speed things up as well.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 6:55 AM
hmmmm... I'll take a look around and see what I can figure out.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 6:57 AM
Josh is there a way I can see the configure panel for that? I think I know what the problem is but need to see the settings for shoutbox. Thanks.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 7:07 AM
Sent ya a PM.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 7:25 AM
I must have missed shoutboxadd/shoutboxdel.php when adding the work-around for register globals being off. I'll update them and upload the zip in the morn.

This should fix that problem.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 7:30 AM
Thanks!
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 7:35 AM
I may sleep in late... lol

So I updated the IIP 5.3 zip in the main post of this thread to include the modified shoutdisplaypal/shoutaddpal/shoutdelpal.php scripts.

Just download the zip and upload those 3 files and you should be good to go. I also switched off anonymous shoutbox use while testing at your site. You may want to turn that back on.
Posted By: junhyok Re: Integrated Index Page (IIP) 5.3 *DELETED* - 01/18/2003 7:39 AM
It works fine.
Thank for your great job....

Junhyok
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/18/2003 7:58 AM
You da man Dave!
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 4:31 AM
I'm confuzzled about this one.

When I'm at editconfigpal.php and I click on the Update button at the bottom, I get the following SQL errors:

Warning: fopen("/home/drumlin/public_html/threads/pals/configpal.php", "w") - Permission denied in /drumlin/public_html/threads/pals/doeditconfigpal.php on line 750

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /drumlin/public_html/threads/pals/doeditconfigpal.php on line 751

Warning: fclose(): supplied argument is not a valid File-Handle resource in /drumlin/public_html/threads/pals/doeditconfigpal.php on line 752

Warning: Cannot add header information - headers already sent by (output started at /drumlin/public_html/threads/pals/doeditconfigpal.php:750) in /drumlin/public_html/threads/pals/doeditconfigpal.php on line 755

I don't have a file called configpal.php
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 4:54 AM
I fixed it. I CHMODED the pals directory to 777. Did I miss this in the directions somewhere? And should I keep it 777?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 6:20 AM
It used to be in the instructions. I took it out when I had it automatically check to see if it was writable. But now that there is no configpal.php script in the package I can't check it to see if it's writable untill it's created or something. Perhaps chmod'n the pals directory during setup would suffice. Do keep it set to world readable/writable so it can be edited when needed.
Posted By: cstaber Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 8:04 AM
Just went from 5.2 -> 5.3
Everything seemingly works fine...except IE reports an error:

Line: 73
Char: 48
Error: Unterminated string constant
Code: 0
Posted By: sportbikes Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 10:10 AM
Is there a way to have 2 occurances of the IIP? I would like to use one as the Home page with News pulled from the fourms and general information, then another copy as a Forum index with all the Birthdays, Top... and other options.

Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 4:38 PM
If IE is reporting an error it's probably javascript related. There was nothing done to the javascript in this update so check and see if there are other javascripts or other html that may be causing a problem.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 4:39 PM
I haven't done this so I don't know off hand. I believe canvey has done something like this though.
Posted By: gblue Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 7:12 PM
Thanks for the update, had to do a bit of changing in my pal boxes, to display my images, but I like much better. Thanks for the work.




Posted By: deltajo Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 10:10 PM
I figured out what was happening to my ENTRANCE link and linking problems in MENUPAL.PHP. I can't help thinking that others must have had or will have the same problem....

The ENTRANCE link code that has to be added to ubbt_registered.tmpl ( <a href = "{$config['homeurl']}/index.php?Cat=$Cat">Entance</a> ) is grabbing the homeurl from the $config['homeurl'] of Threads' config.inc.php (as you pointed out to me before, Dave). The trouble with that is that (in my case, anyway), I placed the URL of my site rather than the specific Threads installation URL in that field. So when the "Entrance" is clicked, it goes to a non-existent index.php. Another subsequent problem arises in the MENUPAL.PHP in that a few links (like the Profile Index) use that same $config['homeurl'], so they also didn't work in my case.


ALSO (unrelated):

in profilepal.php, lines 320 and 435 say:

FROM w3t_Users

...but I use a different table prefix, so it can't find that table and produces an error.

Should it include $config['tbprefix'] = "XXX"; in there somewhere??



Anyway I'm all fixed-up and going now! Thanks for all your hard work Dave. I appreciate it.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 10:16 PM
Oops... that w3t_ should have been replaced with {$config['tbprefix']} to work with .threads 6.0 and newer. Not sure how I missed that. I did a global replace on them at one time...

I'll update the zip after this post. Thanks.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/19/2003 10:28 PM
*bump*

Updated IIP's zip to include the new profilepal.php script to fix the hard coded "w3t_" table extentions being used.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 4:23 AM
Help.I tried upgrading and this is what I am getting.I have no admin acces now either


Warning: Can't connect to MySQL server on 'localhost' (10061) in c:\wwwroot\ubbthreads\mysql.inc.php on line 38
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 45

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 104
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 130

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 104
SQL ERROR: Database error only visible to forum administrators

I followed the directions (pretty simple)
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 4:49 AM
IIP shouldn't have affected your forums in that manor. I upgraded from 5.2 to 5.3 here at threadsdev in a few minutes with no problems. What version did you upgrade from? Did you run the modify database script? What did it say?
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 4:49 AM
OK I have restored my data base and tried again and this is what I get when I use "Modify MY Database"

Creating IIP 5.3 cache table.
SQL ERROR: Unable to do_query: CREATE TABLE w3t_IIPcache( Ca_Number INT(4) UNSIGNED DEFAULT '0' AUTO_INCREMENT PRIMARY KEY, Ca_TimeStamp INT(9) UNSIGNED, Ca_Version varchar(9) NULL, Ca_TopPosters text, Ca_TopThreads text, Ca_CurrentThreads text, Ca_ShortStats text, Ca_HotTopic text, Ca_LastSeen text, Ca_LastSeen2 text, Ca_TopRatedPosts text, Ca_News text, Ca_PastThreads text, Ca_RandomProfile text, Ca_CurrentPollName text, Ca_CurrentPollVote text, Ca_CurrentPollResult text, Ca_CustomB1 text, Ca_CustomB2 text, Ca_CustomB3 text )
Table 'w3t_iipcache' already existsCache table created

Any help will be greatly appreciated.I am panicking here
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 4:52 AM
What version are you upgrading from?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 4:55 AM
Are you on a IIS server by chance?
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:02 AM
sorry for the Spamination..I was panicking. I have it up and working now but I am seeing this error

SQL ERROR: Unable to do_query: SELECT Ca_TimeStamp,Ca_ShortStats,Ca_TopPosters,Ca_LastSeen,Ca_LastSeen2,Ca_RandomProfile,Ca_TopThreads,Ca_CurrentThreads,Ca_HotTopic,Ca_TopRatedPosts,Ca_News,Ca_PastThreads,Ca_CustomB1,Ca_CustomB2,Ca_CustomB3,Ca_CurrentPollName,Ca_CurrentPollVote,Ca_CurrentPollResult FROM w3t_IIPcache WHERE Ca_Number = 1
Unknown column 'Ca_LastSeen2' in 'field list'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 130
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:03 AM
IIS server by chance?
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:05 AM
Warning: Can't connect to MySQL server on 'localhost' (10061) in c:\wwwroot\ubbthreads\mysql.inc.php on line 38
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 45

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 104
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 130

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in c:\wwwroot\ubbthreads\mysql.inc.php on line 104
SQL ERROR: Database error only visible to forum administrators

With that error sounds like you need to clear your cookies and relog into Threads.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:09 AM
I upgraded UBBThreads from 6.1.2 to 6.2.It looked ok after the upgrade. I then upgraded IIP from 5.1 to 5.3

I am using Apache

And Chuck you were right about the first errors
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:10 AM
Are you hosted on a windows server?
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:11 AM
Yes Dave Win XP Pro
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:12 AM
Why I asked was that this line:

Table 'w3t_iipcache' already existsCache table created


has w3t_IIPcache in all lower case. I thought that perhaps that was why it didn't see that the cache table was already installed.


Strange...
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:16 AM
I actually just downloaded IIP about 30 minutes ago.I assume the link at the beginning of the thread is the most current?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:20 AM
Yes it is.

What I don't understand is that IIP failed to see that the cache table was already installed so it tried to install it again but of course failed because it already existed. I will be adding the check for lower case letters as well. Usually the lower case letters come from MySQL on a IIS server during backup/dumps of the database. When moved to a unix server the lower case table names don't match the upper case ones.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:24 AM
should I restore the DB and try again? Im a bit of a novice.I didnt run the "Initial Setup" the first time around when I first clicked "Update IIP 5.3 Settings" Could that have done it?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:28 AM
In the initial setup is the link to modify your database. I can't seem to see how it didn't recognize that you already had a cache table and that it should have upgraded 5.1 cache to 5.3 cache. It instead tried to install the cache table as if the old one didn't exist.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:36 AM
what about deleting the cache table and trying to install again? Also if you scroll down to the bottom of my index page you will see a big mess.Shoul I leave my forums opened or closed at this time?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:38 AM
That should work but I still would like to know why it didn't see that the table already existed so I can keep it from happening again.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:39 AM
Sorry you will have to tell me how to delete it.I dont know a whole hoot about SQL management
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:42 AM
Use phpmyadmin and select the table to drop and drop it.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:47 AM
sorry Dave ya lost me allready.Where is phpmyadmin?
I have WinMYSQLAdmin but I dont see where to drop the table
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 5:56 AM
Ahhh sorry I asked the wrong question. You are in deed on a windows machine but not running IIS. I'll upload an updated IIP 5.3 zip in a moment that will check for both upper/lower case table names. This should keep this from happening again.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:00 AM
Hehe oh well I figured out what PHPMyAdmin is and I downloaded it but have yet to install it.Should I go ahead and do that and then drop the table and start over or just download your updated IIP?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:03 AM
I'm going to update the zip after this post. Download it and give it a try and let me know if it works. Hopefully this will help others in the same situation.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:10 AM
*bump*

Updated IIP.modifydatabase.php to check for both upper and lower case table names just in case we are being used on a windows machine. Thanks for finding this one ChAoS.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:16 AM
I hate being "Special" sometimes

I will reupgrade after this post.Thanks for pointing me to PHPMYSQLAdmin.I want to learn more about managing SQL databases and working with PHP anyway. Added to the list of things to do

After running again this is what I get

Upgrading IIP 5.1 cache to 5.3 cache...
Upgrade completed.

Modifying w3t_Users to allow for optional enhanced 'Last Seen' tracking.
SQL ERROR: Unable to do_query: ALTER TABLE w3t_Users ADD U_LastSeen INT(11) UNSIGNED
Duplicate column name 'U_LastSeen'Modification completed.

Hmm..If you look at my page everything seems to be working except for the last seen section.It seems to be blank
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:26 AM
The duplicate column may have already been installed the first time you ran the script and it thought that the cache table didn't exist. It should be working for you now.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:37 AM
Last seen column still isnt showing any data. I do have PHPMYAdmin installed and working now though tipsy
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:47 AM
You will need to follow the additional instructions located in the Last Seen area of IIP's configure panel. Additional code needs to be added to ubbt.inc.php to fill the new field.

phpMyAdmin makes life much simpler with the database.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:54 AM
These are the only additional instructions in the "Last Seen" section
[]
You need to run the "Modify My Database" link in initial setup before using this step.[/]

What did I miss

*Update* I reset enhanced tracking to "0",Updated the config then changed the variable back to "1" and that solved my problem.

Thanks for all your help Dave
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 6:59 AM
You should see something like this in the "Last Seen" area:

Use enhanced tracking? 1=yes 0=no
Before using this option you must follow THESE setup instructions or this WILL NOT WORK CORRECTLY!


Click on the THESE link to view the additional instructions.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 7:01 AM
I'm glad you got it all going smoothly now.

Others using windows machines will be thankfull for your trail blazing.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 7:03 AM
Sorry Dave my mistake.advanced tracking doesnt work on my page at the moment. These are the only instructions from that link.

You need to run the "Modify My Database" link in initial setup before using this step.

Did you forget to write the instructions?

[]Others using windows machines will be thankfull for your trail blazing.[/] Do I hear Unix laughter in the background?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 7:11 AM
LoL you know I probably need to fix that script as well. I'll take a look right now.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 7:17 AM
LoL ok Unix laughter is over..

I updated the zip to include a new lastseensetup.php file that will take into account upper and lower case table names as well.

Download the zip and upload that file and try that link again.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 7:39 AM
There are two lines in ubbt.inc.php that match

$phpurl = $config['phpurl'];

Do I add that code above both of those lines?

// If they aren't logged in they get the standard menu
// ================== IIP "Last Seen" code change START.
$date = $this -> get_date();
$query = "
UPDATE {$config['tbprefix']}Users
SET U_LastSeen = $date
WHERE U_Number = '{$user['U_Number']}'
";
$dbh -> do_query($query);
// ================== IIP "Last Seen" code change END.
$phpurl = $config['phpurl'];




// We need to check for a temporary cookie and if we don't find
// one then this is their first visit for that browser session
// so we get rid of the TempRead values in their profile
if ( !${$config['cookieprefix']."w3t_visit"} ) {
$date = time();
$query = "
UPDATE {$config['tbprefix']}Users
SET U_Laston = $date,
U_TempRead = ''
WHERE U_Username = '$Username'
AND U_Laston < ($date - 14300)
";
$dbh -> do_query($query);
}
// ================== IIP "Last Seen" code change START.
$date = $this -> get_date();
$query = "
UPDATE {$config['tbprefix']}Users
SET U_LastSeen = $date
WHERE U_Number = '{$user['U_Number']}'
";
$dbh -> do_query($query);
// ================== IIP "Last Seen" code change END.
$phpurl = $config['phpurl'];
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 7:46 AM
Hmmmm... guess I need to change that. Place the code after these lines:

Code
<br />       // Otherwise they are logged in so they get the special menu<br />         else {<br />


That should do it.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 8:53 AM
Ok now we are cooking with Oil.
Its all working good (I think)
What is enhanced tracking anyway? I can't find the difference yet.

Oh and what are you doing up so late Dave?

hehe thanks for all the help
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 8:58 AM
Enhanced tracking will record registered users "last seen" time with every call to send_header. It's way more accurate than using the U_Laston field that is updated by .threads. There wont be many users showing up at first because their fields are not updated yet with a time stamp. This will happen when they visit.

Me? Up late? Never!

LoL well actually tonight I'm cleaning things up around here some.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 9:48 AM
LOL

Dave NEVER sleeps. He sleeps less than me, and I NEVER sleep. LOL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 9:58 AM
LoL looking around here lately I don't think any of us are getting the daily allowance on shut eye... LoL
Posted By: junhyok Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 10:38 AM
I'm having wierd problem at Shoutbox

I configured the shoubox option as below:

* Should we allow unregistered users to use the shout box? (Yes)


* Should we allow unregistered users to specify a nickname with the shout? (No)

When guest click the "SHOUT" button, they gets "please enter your name...." massage.

But if guest hit the "Enter" on the keyboards, it works normally..

You can see it here
http://www.doobic.co.kr

Thanks
Junhyok
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 10:41 AM
I may need to go over the javascript for the shoutbox again. I had made some changes earlier in this area which may have affected this.

I'll let you know what I find/fix.
Posted By: junhyok Re: Integrated Index Page (IIP) 5.3 - 01/20/2003 4:05 PM
Thanks Dave.

Junhyok
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 7:16 AM
I have an issue where if I navigate away from a page of posts that have not been read and then subsequently return to that page that the unread posts will end up being marked read. I noticed that this happened in the previous version of IIP/Threads also.I believe it didnt start happening until after the IIP install. It really creates havok when I have 200 unread posts that dissappear. I haven't actually documented the sequence of events leading up to this yet but I will the next time it happens and I will post.

Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 7:41 AM
That's actually a threads thing, IIP doesn't do anything with read/unread... the new posts within threads are not tracked individually.... (too intensive) it's the postlist.php page that actually marks them read. So if you visit the postlist page, those posts will *typically* be marked read. They system is not perfect yet.
Posted By: lauraz Re: Thank you - 01/21/2003 1:45 PM
Hi Again, I got sidetracked at work and had to leave the iip for a while... Anyways, I got back onto trying to make it work today and I tried that compare program that you suggested and a lot of files were different, So I uploaded everything again and now I get new errors... eek

here goes:
SQL ERROR: Unable to do_query: SELECT Ca_TimeStamp,Ca_ShortStats,Ca_TopPosters,Ca_LastSeen,
Ca_LastSeen2,Ca_RandomProfile,Ca_TopThreads,
Ca_CurrentThreads,Ca_HotTopic,Ca_TopRatedPosts,Ca_News,
Ca_PastThreads,Ca_CustomB1,Ca_CustomB2,Ca_CustomB3,
Ca_CurrentPollName,Ca_CurrentPollVote,Ca_CurrentPollResult FROM w3t_IIPcache WHERE Ca_Number = 1
Unknown column 'Ca_LastSeen2' in 'field list'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\wwwthreads\mysql.inc.php on line 130

and loads of other errors at the bottoms of the page...
Any ideas? Is my database ok?

Thanks.



Laura
Posted By: Beentheredonethat Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 3:26 PM
Is this board we are using the result of the Integrated Index Page or are there more modification here?

Is this how it is going to look?
Looks very nice.
I would only change it to ad a link for last posts in 24, 48, and one week on top... many use that feature...

Thanks
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 5:18 PM
Hi Dave

I have just looked at your test site and noticed that you have, well, how can I put this, or which way do I put this.

1.You have the threads and the calendar coming up next to the pal boxes. or the other way ??

I have been looking for this for ages, looking like postnuke every day.

So is the going to be an update or addon?

This means we can use the IIP for what it's supposed to be an index page, instead of it disapearing once you go to threads.

And does this mean we can have all our navs in the menu pal box to.

Is the calendar an update to Calendar - 6.2.
http://www.chattersonline.com/test/ubbthreads/iip/calendar.php?Cat=
I love it.

OR AM I DREAMING. zzzzzzzzzz

Can you give me any info on you latest creation...

Thanks


Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 5:31 PM
What's currently in use at my test site (IIP pro)? is something I'm putting together for myself and anyone that may care to purchase it when it's finished. The left/right/center columns in the display are template based but are not like how the sidebars are done here. The calendar I'm putting together there isn't related to the calendar addon that's here. It's a seperate set of scripts all to itself to make it easier to set up.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 5:34 PM
The front page of this site is how IIP looks. The forum is using the Side Bar modification located in the beta modifications board. I did some additional modifying here to place the information in the sidebar. It's not that hard to do and I'll post the "how to" on it as soon as possible.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 5:35 PM
Hi Dave

I'm Interested.

Any more info - finish - price etc.

PM me or post here.

Thanks.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 5:46 PM
Thanks for even considering to purchase it!

I'm not even sure what to ask for a price as of yet. Heck, it's not even finished.

I'll definately let you know when it's done so you can give it a closer inspection.
Posted By: Liahona_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 5:48 PM
Hi

Your welcome

keep me posted

Thanks
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/21/2003 11:19 PM
I think a number of people here will realize a GOOD thing when they see IIP Pro. IIP is far more than a "hack" or "modification" like others here.... it's a full scale system.

I'll be spending the money to have it when it's available as I know it'll be worth it, and JustDave's time and efforts deserve to be rewarded.
Posted By: JustDave Re: Thank you - 01/22/2003 12:04 AM
By the looks of the error you haven't ran the "Modify My Database" script. What version are you upgrading from?
Posted By: shortbus Re: Thank you - 01/22/2003 1:16 AM
IIP pro huh!?!

I knew there was a catch

Nah,

I'm in. I would definately go for it.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/22/2003 3:55 AM
My Motto

Send Money !!

Great work Dave
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/22/2003 4:48 AM
What all is gonna be include with Pro?? Or did I miss it?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/22/2003 5:00 AM
No it's in the works.

I've heard Dave talk a bit that it's a more powerful version of IIP....with an Integrated Calendar.
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/22/2003 5:23 AM
Well of course I'm in.....:D I've known since day 1 that Dave should be charging at least something for this.... We've been really fortunate havin' him around.....
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/22/2003 6:21 AM
Yes we have.
Posted By: l_cherrio Re: Integrated Index Page (IIP) 5.3 - 01/22/2003 7:50 AM
Indeed, kudos to Dave. I would love to see more folks create ad-on pals as well, much like modules for *nuke's. If only I weren't a very poor php coder, heck maybe i'll give it a shot.

anyhow, great work Dave, looking forward to seeing the Pro in action.

gt
Posted By: lauraz Re: Thank you - 01/22/2003 12:33 PM
I had 5.2 running before, so I assumed the databse should be ok and I didn't need to run the modify database option.
But I thought it was a database issuse too by looking at the errors, but I didn't want to run it in case I messed up my database.

Should I run it ? Will it be ok event though I upgraded from v 5.2?

Thanks for your help Dave, I know I'm a pain! LOL
Posted By: JustDave Re: Thank you - 01/22/2003 3:39 PM
Hmmm that is odd then. If you were running 5.2 there should be no need to upgrade the database but that error you posted says that the field is missing which would suggest that it needs to be upgraded. You can run the "Modify My Database" script. If the cache table is labled as 5.2 it will not be updated. If it isn't it will try and update it.
Posted By: JustDave Re: Thank you - 01/22/2003 4:28 PM
Also wanted to say thanks to everyone for showing such interest in IIP pro.

The main features of IIP pro will include:

1. Calendar (master/board/personal)
2. Picture Gallery (master/board/group/user)
3. Link Directory (master)
4. News/Reviews section (master)
5. Dedicated File download/upload area (master/board/group)

Other features:

1. Fully templated (XHTML compliant, of course)
2. Complete text seperation via language files
3. RSS news feed generation and external fetching (master/board)
4. Revised "swap language on the fly"
5. Dedicated "Admin" area (this just keeps growing)
6. Revised cache table (use rows, not columns)
7. Configureable "menu" system to simplify adding additional links

More features:

Yeah there is other things implimented or planned on that I can't think of at the moment... LoL


Release date? Sometime this year.

I had originally wanted to "market" it but decided that that would take the enjoyment out of creating it. I work on it when time permits and I'm feeling creative.
Posted By: Dalantech Re: Thank you - 01/22/2003 4:33 PM
Count me in for the pro version

Is IIP 5.3 compatable with Threads 6.2.1?
Posted By: Liahona_dup1 Re: Thank you - 01/22/2003 4:37 PM
Hi Dave

You mention "2. Picture Gallery (master/board/group/user)"

I already have PhotoPost could you keep PhotoPost in mind for the people that have already purchased this. What I mean is could you find a way to integrate this into IIP Pro?


THX
Posted By: dimopoulos Re: Thank you - 01/22/2003 4:43 PM
I think that it will depend on how the data is stored and manipulated Liahona from IIP Pro. I guess that if one has PhotoPost, a wrapper can be created to show photos on IIP without using its own. On the other hand, there is always room for a converter that would change the entries from one program to another.

I think it's early time yet to know the specifics of IIP Pro so that we can safely start asking more in-depth questions. However from what I read I like it. I like it a lot...

Warm regards

Nikos
Posted By: JustDave Re: Thank you - 01/22/2003 4:49 PM
I don't own photopost so I'm not even sure what that would take. Building from scratch allows me to blend with .thread's groups and user database much more closely. What I'm trying to avoid is having an over abundant number of code changes that are needed to make IIP pro work with .threads so things really need to be "stand alone" as much as possible.
Posted By: JustDave Re: Thank you - 01/22/2003 4:50 PM
I believe all the changes made for 6.2.1 are related to bug fixes. There isn't any database changes so IIP 5.3 should work.
Posted By: JustDave Re: Thank you - 01/22/2003 4:56 PM
[]I think it's early time yet to know the specifics of IIP Pro so that we can safely start asking more in-depth questions. However from what I read I like it. I like it a lot... [/]

Thanks.

Yeah it's definately to early in the game to get in-depth. I have already rebuilt IIP pro 3 or 4 times after realizing something could be done better... LoL (haven't in a while now so I think I have the base where I want it)
Posted By: JustDave Re: Thank you - 01/22/2003 5:04 PM
Just a note. IIP's poll is still using usernames so users are able to vote at least twice. Once from IIP and once from the thread the poll is in. Thanks goes to cstaber for finding this.

I need to update IIP with a couple of other changes and I'll fix this as well.
Posted By: Dalantech Re: Thank you - 01/22/2003 5:28 PM
It works just fine

P.S. Beyond Compare owns me...
Posted By: junhyok Re: Thank you - 01/22/2003 7:09 PM
Hi Dave I'm developing a Online game now, and I need really really good portal tool for my users &clans community(with UBBhtreads & Photopost).

Absolutely I will purchase your IIP pro for my game site.
Please show me a magic.
And I hope it's not so far......

Thanks.
Junhyok
Posted By: lauraz Re: Thank you - 01/22/2003 7:50 PM
Righto, I ran the modify database and it fixed everything. Thanks a lot for your help and persistence!

It's much appreciated.

Eternally grateful, Laura
Posted By: JoshPet Re: Thank you - 01/22/2003 9:02 PM
[]I believe all the changes made for 6.2.1 are related to bug fixes. There isn't any database changes so IIP 5.3 should work. [/]

Yup.... IIP works great with 6.2.1.
Posted By: pootlecat Re: Thank you - 01/22/2003 10:33 PM
Just a silly question about this awesome addition to my forum

I assume it is because I left a trailing slash in the first time I did the config but now I have a double // in the 'Entrance' link: 'http://www.neoitems.net//index.php?Cat='
How can I get rid of this? I have already removed it from the settings but it hasn't helped.
Posted By: Dslam Re: Thank you - 01/22/2003 10:36 PM
put me down for buying a copy also
Good work ,
Posted By: JustDave Re: Thank you - 01/22/2003 10:56 PM
The extra slash is probaly in your "home url" which is configured in the threads > admin > edit configure settings.

I actually have a check in place and make the script compinsate for those that leave the extra / or the entire /index.php at the end of the index url. (I just kept the warning in place insisting on that they not be added) LoL
Posted By: msula Re: Thank you - 01/23/2003 12:09 AM
I'm in with paypal donation in hand.. lets start a chant, IIP PRO, IIP PRO! j/k, take your time and make it really good dave
Posted By: pootlecat Re: Thank you - 01/23/2003 12:56 AM
Thanks Dave - you were spot on
Really awesome piece of work!
Posted By: ChAoS_dup1 Re: Thank you - 01/23/2003 3:22 AM
[]Just a note. IIP's poll is still using usernames so users are able to vote at least twice. Once from IIP and once from the thread the poll is in. Thanks goes to cstaber for finding this.

I need to update IIP with a couple of other changes and I'll fix this as well. [/]

Oh damn I thought I found a new bug and was just about to post this. So I posted anyway to bump my count
Posted By: pootlecat Re: Thank you - 01/23/2003 3:25 AM
Edit - figured it out lol
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/23/2003 4:08 AM
The news section of my index page seems to be ignoring sticky posts even though I have it set not to.Any one else having this problem?
Posted By: Mayoff Re: Integrated Index Page (IIP) 5.3 - 01/23/2003 5:10 AM
With so many pages on this topic, it is hard to tell if this has already been asked and answered:

1) I guess you can configure IIP from a simple interface (like the admin control panel)?

2) When configuring IIP, can you turn off specific components like the Shot Box and have that part not display?
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/23/2003 6:15 AM
[]1) I guess you can configure IIP from a simple interface (like the admin control panel)?[/]
Initial configuration is achieved by loading the index.php page of IIP in your web browser. After initial setup IIP is configured from its own control panel by clicking on the copyright and version # at the bottom of the index page below InfoPop's logo

[]2) When configuring IIP, can you turn off specific components like the Shot Box and have that part not display? [/]
all PAL boxes can be arranged/removed via the control panel


*note-Hope ya don't mind me answering that one Dave but I thought I could Ace it~ChAoS*
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/24/2003 5:51 AM
I don't think Dave will ever mind assistance.
Posted By: l_cherrio Re: Thank you - 01/24/2003 7:42 PM
[]Also wanted to say thanks to everyone for showing such interest in IIP pro.

The main features of IIP pro will include:

1. Calendar (master/board/personal)
2. Picture Gallery (master/board/group/user)
3. Link Directory (master)
4. News/Reviews section (master)
5. Dedicated File download/upload area (master/board/group)
[/]

drooooool! stoaked to see this in action!
Posted By: AKD96 Re: Thank you - 01/24/2003 8:56 PM
My Hot Topic box doesn't seem to be working. I have many posts that exceed the post requirement. Is there a known issue with this?
Posted By: ehm Re: Portuguese-Brazil language to (IIP) 5.3 - 01/24/2003 10:30 PM
Hi,
I'm attaching a file with 'languagepal.php' file in Portuguese-Brazil language from the latest 5.3 version of IIP
I hope it could help people out there and also a future language file implementation.

Regards
Elton

Attached File
Posted By: JoshPet Re: Portuguese-Brazil language to (IIP) 5.3 - 01/25/2003 6:26 AM
That's cool. Thanks.
Posted By: JustDave Re: Thank you - 01/25/2003 7:23 AM
[]My Hot Topic box doesn't seem to be working. I have many posts that exceed the post requirement. Is there a known issue with this? [/]


What do you have the cache time set to for your hot topic box? It's working well here and the time is set to 10 minutes. Also, only threads posted in the past 24 hours are considered when assigning the hot topic.
Posted By: JustDave Re: Portuguese-Brazil language to (IIP) 5.3 - 01/25/2003 7:24 AM
Thanks eltonm

I'll add it to the main zip when I do this next update. (sometime this weekend)
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/25/2003 7:25 AM
Nope, don't mind at all when someone answers a question. It's great!
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/25/2003 11:23 PM
FYI in the config panel for IIP you only included cache time settings for cutom PAL boxes 1,2,and 3 but not 4,5,or 6.

And here is a small typo from the config panel
Code
 <br />ONLINE <br /> <br />If a user [:"red"]a user[/] is invisible should we allow them to see others that are not? <br />

Profile spotlight seems to keep dissappearing from my index page.Trying to narrow that one down now
edit~ After updating the config panel a random profile will appear on the index page but after clicking on any link then returning to the Entrance page the Random Profile box will dissappear. I believe this may have just started occurring after upgrading from ver. 6.2 to ver. 6.2.1
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3 - 01/26/2003 2:29 AM
I have the cache set to 10 minutes. And I do have threads that have more than 15 posts (constitutes a hot topic) that have been posted to that day, yet don't show up as hot. My website is http://www.drumlines.org
Posted By: pinion Re: Thank you - 01/26/2003 3:08 AM
I too would also be very interested in IIP Pro. You do great work Dave .
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/26/2003 7:56 AM
Custom pal boxes 4,5 and 6 are not cached.

I'll fix the typo in this next release.

I have a work-around for the vanishing random profile. What happens is that the query comes up empty and nothing is displayed and a blank is added to the cache. The way I got around this here was to check to see if the query came up empty and if it did I don't update the field. It seems to be working here.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/26/2003 7:58 AM
When was the main thread posted? If it was posted more than 24 hours ago it will not show up no matter how many replies it gets.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/26/2003 8:00 AM
[]
I have a work-around for the vanishing random profile. What happens is that the query comes up empty and nothing is displayed and a blank is added to the cache. The way I got around this here was to check to see if the query came up empty and if it did I don't update the field. It seems to be working here. [/]

Dave, when you get that settled.... please share with me.

My profile birthday thing.....
What I do is let the pal box update the data and cache it... then pull it to my ubbthreads.php page (from the cache). But often it ends up coming up blank and the cache gets empty for a cycle.

I'm guessing adding a check like that will solve that blank cache field as well?

Posted By: JustDave Re: Thank you - 01/26/2003 8:00 AM
[]I too would also be very interested in IIP Pro. You do great work Dave . [/]

Thank You
Posted By: JustDave Re: Portuguese-Brazil language to (IIP) 5.3 - 01/26/2003 9:02 PM
I added your language file to IIP and made it so that the user's chosen language is reflected by IIP. I then realized that this won't work on the cached boxes. I'll have to figure something else out to get around this. Once I get this figured out I'll release IIP 5.5
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/26/2003 9:05 PM
[]http://emeraldforestseattle.com/attachments/25504-spock.jpg[/]
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/26/2003 9:39 PM
Even more fascinating will be the configurable sidebar pals.
Posted By: Mudpuppy Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 1:23 AM
Two questions about IIP 5.3 --

Why do certain users' names show up bold and italicized in the "Last Seen" and "Online" lists? They always seem to be the same users who show up this way, but there's nothing significant about them, i.e. they're not members of any particular group, they're not the top posters, etc.

My "Shout Box" has trouble conforming to the width of the column. The table wrappers are the right size, but inside the wrapper the Shout Box occasionally scrolls sideways, or is both shorter and wider than the wrapper (leaving a big gap at the bottom of the Box). How can I fix this?

Thanks -- I love this mod, by the way. It really impresses new visitors.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 1:26 AM
The users who show up Bold Italic in "Last Seen" are invisible. I think admins are the only ones to see those users.

I've noticed that sometimes with the shoutbox too.

What usually happens, is someone posts some long string of text somewhere, like "lololololololololoolllolololol" and it blows the box out of wack. It usually goes back when I delete it. Usually the shoutbox is in a narrow column to begin with, so it doesn't take much to make it scroll.
Posted By: Mudpuppy Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 1:37 AM
<< What usually happens, is someone posts some long string of text somewhere, like "lololololololololoolllolololol" and it blows the box out of wack. >>

Yep, that was exactly the thing (an Oakland Raiders fan posted something... I probably don't need to say anymore). I deleted it and the box did pop back to normal size.

And thanks for the explanation about the bold italics -- makes perfect sense.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 1:39 AM
I wish there were a check to keep that from happening, but it's probably not possible.

Oakland Raider fan. LOL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 2:47 AM
I can get something in the next release to cut words over x characters in length before storing them in the database.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 3:14 AM
Yeah people like to break it.
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.3 - 01/29/2003 6:52 AM
Well, at least we don't have to worry much about Oakland Raider fans... They're all in jail..... hehe

This is a JOKE for all of ya's from CA and other fans....
Posted By: ChAoS_dup1 Post Order - 01/30/2003 12:01 AM
Dave any idea why IIP is displaying the posts not in the order they are listed in this forum?

http://emeraldforestseattle.com/ubbthreads/postlist.php?Cat=&Board=Crier

I have the config set to display the first four posts (at this time there are only three) from this read and reply only forum. They aren't displaying in the correct order. How is this function called?

*edit* After looking into this further I think IIP is picking the posts according to the date of the First post in that particualar thread and not the latest post.Is this the way it is supposed to work? I have my default sort order set to last post and I assumed that IIP pulled the top x amount of posts from whatever category you set?
Posted By: JustDave Re: Post Order - 01/30/2003 1:41 AM
The display is based on the main post of the thread and it's posted date. I don't currently have an option in to go by "last post" and am not sure when I can work such an option in. If I get some time I'll look it over.
[]IIP FAQ -

Having trouble getting IIP instaled or configured?
Read these FAQ's first. If you question isn't answered, then post it to this thread.


OK - I got it running but it says "Index Closed - we are currently updating this page...". What have I done wrong?
It shows like that until you configure it. Scroll to the very bottom and click on the copyright IIP link (IIP 5.2 by David Lozier ©2002). That'll take you to the configure panel.




I click on the Copyright link and I go to ChattersOnline.
First, make sure you are logged in as Admin. Then, in your config file, make sure your cookies are set site wide. The cookie path should be "/".



There is no configpal.php in my zip!
The first time you run the IIP config panel, it will get created for you.
If you are upgrading, your settings will be updated from your current configpal.php file.




When I edit my config for IIP, my changes don't get saved! OR I get "Warning: fopen blah blah blah Permission Denied"
Try looking at the permissions of the /pals/configpal.php. The file should be 666. If that doesn't work, try 777. You might also need to adjust the permissions of the 'pals' directory to 777 as well.




My Entrance link looks like this: ]http://www.mydomain.com//index.php?Cat=?[/b]
Check both the config panel in IIP and your config file in threads for a trailing slash. Remove it, and you should be all set.




[b]When configuring IIP, can you turn off specific components like the Shot Box and have that part not display?

Yes, you can configure and arrange all the pal boxes just as you wish from the IIP config panel. You can choose to not display any boxes you wish.




The index page doesn't seem to change or show the most current information.
If you are running with the "force public" option, you are caching (storing) some of the information used. This makes it faster and uses less queries. When you are caching information, the information only updates every so often, as configured in your IIP setup.
As an admin, you can click on the little green circular arrow in the menu pal, that will refresh the cache and update all the pal boxes.



My private forums are showing up on my front page!!!
Fear not...your private info is still secret. If you are not using the caching abilities (force public) then all access will be based on the user groups. You are seeing that info because you can see those forums normally. A regular user will see only the forums they are supposed to.



I don't want unregistered users to be able to post in the shoutbox.
You can set the option to members only under the shoutbox section of the configure panel.



How do I edit the custom boxes?
Inside your pals directory, edit the files custombox1pal.php, custombox2pal.php, etc.. As needed.



I edited my custom pal boxes and now I am getting a parse error!
If you are including HTML links inside the PHP files, you must be sure to comment out the quote marks (by placing a \ before them), or else they will break the string.

For example.... To insert a graphic in your pal box.... You would need to change this:
<img src="http://www.mydomain.com/image/picture.jpg" alt="Picture" border="0" />

To this:

<img src="http://www.mydomain.com/image/picture.jpg" alt="Picture" border="0" />

You need to insert the \ before each quote in the HTML you will insert. Don't add the \ to any quotes that are already in there.



Sometimes my News gets "cut off" or stops short.
Try turning off the "strip HTML" options for the newspal settings.



My Random Profile doesn't seem to be that random. It kind of just ends up displaying a few users.
When you setup the Random profile, you have the option to require certain fields. Don't check too many of those boxes. It's best to pick a field or two. If you are too strict and require too many fields to be complete, then there won't be that many profiles to choose from in the random rotation.




I have my Hot Topic cache set to 10 minutes and 5 replies. I have refreshed my cache, but it still will not show up as a hot topic.
If the main thread was posted more than 24 hours it will not show up no matter how many replies it gets. Hot Topic only looks at threads posted in the last 24 hours.




Why do certain user's names show up bold and italic under last seen?
Because they are invisible users. You are seeing them because you are an Admin.



My Shout box has trouble conforming to the width of the column. Sometimes I have to scroll left and right.
Usually this is because a user has entered a very long shout without any spaces and it doesn't wrap, thus stretches things out. Just simply delete the shout by clicking the little "X" next to it, and it should go back to normal.




The news pal doesn't seem to list the posts in the order that they are in my forum.
The display is based on the main post of the thread, not replies. If you have dateslip on in your forums, then they will be ordered by the date of the most recent post. This setting does not affect IIP.




Will there be more features?
Sometime in the future, (Release date, sometime this year.) JustDave plans to offer IIP Pro for sale. It's still in the works now, so stay tuned, but the main features of IIP pro will include:
1. Calendar (master/board/personal)
2. Picture Gallery (master/board/group/user)
3. Link Directory (master)
4. News/Reviews section (master)
5. Dedicated File download/upload area (master/board/group)

Other features:

1. Fully templated (XHTML compliant, of course)
2. Complete text seperation via language files
3. RSS news feed generation and external fetching (master/board)
4. Revised "swap language on the fly"
5. Dedicated "Admin" area (this just keeps growing)
6. Revised cache table (use rows, not columns)
7. Configureable "menu" system to simplify adding additional links

More features:

Yeah there is other things implimented or planned on that I can't think of at the moment... LoL
[/]

Thanks Josh

A IIP FAQ was badly needed.
you forgot to add
Where does JustDave find the time to do all this?
LOL Ain't that the truth.

I appreciate greatly all the time he puts in on this, and so many mods, and helping us all.
Hey gang,

I am having a problem with my install... I began the setup of the entrance page, but had to stop half-way through because I couldn't back up my DB (so I never modified my DB files). Now that I have done that, every time I try to get to the IIP control panel I get taken to ChattersOnline, and the entrance page has a Login link on it. If I click that I am taken to the profile for whoever I am logged in as, meaning the cookie is taking over and working as expected. I have tried logging in as myself (an Admin) and as the first Admin, but neither works.

I have my cookie path set to "/" for site-wide cookies.

Any help greatly appreciated, as I would like to finish my setup!
Ok... figured this one out. Turns out if I go to the index.php from the ACTUAL server name, rather than the domain name, it works fine. Must be some cookie naming issue.

However, now I am trying to edit the custom box phps and keep getting a "Cannot instantiate non-existent class: html" error... what is this from?

Cheers,

Chris
Yeah..... cookies from different domain names on your site will be different and cause problems. Even as simple as using the domain with and without the www will cause problems.

What exactly are you trying to do to the custom box that's giving you that error?
I was trying to load it into the browser, because it seemed to me that that is what the instructions were saying to do. But now I realize (hope this is correct) that I just need to hand-edit the php file, right?

But... I am not sure where to put the "body" text for the page... should I be replacing the contents of one of the strings in the customboxXpal.php?

Thanks!
Yeah, hand edit those files....

If you are editing custom boxes 1-3 (those can be cached) then you put the contents of you box into:

$TempStorage .= "blah blah blah blah";

Boxes 4-6, put your stuff into the echo statement.... second line from the bottom.

Hope that helps.
That helps a ton, as usual! Thanks, Josh!!
Ack! Ok, now the cookie thing is causing other problems, I think...

I added a poll, but whenever anyone tries to vote the entrance page table gets hammered and you get a message saying:

We cannot proceed.

The host you are trying to send the input from is not a valid host. Please use your back button to return to the previous page.

It seems that you are having problems with cookies.

It might be an idea to switch to sessions... (config.inc.php file)

Warm regards

Nikos
The invalid host is a referer problem. Try turning off the referer check option in the admin config settings before you disable cookies and try sessions.
You can either turn off the refer check in your config file... OR they can adjust their firewall settings to allow the referer information to pass to threads.

Check out about halfway down this document for more details.
There you go Raconteur

Three options. Choose whichever suits you

Warm regards

Nikos
LOL - Guess we all replied just about the same time. Didn't see your replies until now.

We got lots of help here.... that's good.
Yeah, it does happen when you are typing and haven't refreshed your screen.

Warm regards

Nikos
Thanks gang...

Turns out the person who setup the boards used the direct domain host's computer names rather than our domain name in the config.

Changed that and suddenly everything works!

However... now I have another question. Is there a FAQ or a post on how to modify the Menu box?? I'd like to do some hacking on it, and can probably figure it out, but some info would sure save me some time and effort!

Cheers to you all for the great input, and to JustDave for a killer script!
The files you should be looking at are in your templates/default folder

ubbt_registerednav.tmpl for the users logged in and
ubbt_unregisterednav.tmpl for the users not logged in

You might also want to alter your language files to give more flexibility to your users.

Warm regards

Nikos
Hi Nikos,

If that was for me, I think there is a misunderstanding. I do not mean the menu bar supplied by UBB.threads, but rather the Menu box in IIP.

Cheers,

Chris
Sorry Chris,

You should be looking at the pals/menupal.php file then. All the menus are contained in there.

However a word of caution on the work that might lie ahead. If you change the menupal.php and would like to add functionality similar to the "File Downloads" or "Recommend Us" i.e. click on the link and the page reloads with a different window on the middle/right section, then you will need to change the index.php file as well.

Warm regards

Nikos
Thanks Nikos,

That will get me started... a tutorial on this would be really helpful, especially for those of us who are coders but have little experience with PHP...

Cheers,

Chris
To add stuff to the Menu box, you need to edit /pals/menupal.php.

Look for the last line:

echo "$tableEnd</td></tr>$tbclose<br />";

Just ABOVE it.... you can add stuff like this:

echo "$rowStart<a href="http:www.whatever.com/mypage.html">My Page</a>$rowEnd2";

You can add as many lines like this as you wish, to add them to the menu box.

It is important to ensure that for each " (quote mark) which occurs inside of 'echo "    "; has a \ in front of it, so it doesn't break the string.

Hope that helps.

I have added this info into the IIP FAQs - second post of this thread.
Am I doing something wrong and I can't see anything written in my language but instead I see strange characters?

The problem appears only in the shoutbox
Posted By: dtalker doeditconfigpal.php not found ....portal-update - 02/02/2003 11:17 AM
Hi when i want to update, it did not find the link:

http://www.giga-board.com/ubbt/pals/doeditconfigpal.php

but the file doeditconfigpal.php is there in the pals directory....

What can I do?
looks like your problem is solved.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 02/02/2003 11:07 PM
[]
I have a work-around for the vanishing random profile. What happens is that the query comes up empty and nothing is displayed and a blank is added to the cache. The way I got around this here was to check to see if the query came up empty and if it did I don't update the field. It seems to be working here. [/]

Any updates on this issue Dave?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/02/2003 11:20 PM
I've been working on my paypal addon so IIP 5.5 got put on hold. I need the addon more than I need IIP...

IIP 5.5 should be out sometime this week, I would guess.
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 02/02/2003 11:42 PM
You mean a paypal link for your page? I have one on mine if ya need help
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/03/2003 12:14 AM
No this is a set of scripts that allows the admins to specify groups that are available via subscription (amungst other things). Users can subscribe to the group and make the payment via paypal. Then when the payment is comfirmed the group is automatically assigned to the subscriber. If they cancel or their subscription reaches end of term paypal automatically relays this to the site via their IPN process and the scripts adjust the subscriber accordingly.
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.3 - 02/03/2003 12:16 AM
Wow! Pretty !

I'm still looking forward to IIP Pro!
Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 02/03/2003 12:32 AM
wow...that is mega cool []http://emeraldforestseattle.com/ubbthreads/images/graemlins/bow.gif[/]
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/03/2003 12:39 AM
JustDave rocks.
Posted By: Raconteur_dup1 Re: Integrated Index Page (IIP) 5.3 - 02/03/2003 5:57 PM
Hey ChAoS,

I'd be interested in that... I think I see where you are placing the code, but am not 100% sure. Can you post it or mail me offline ([email protected])?

Cheers,

Chris
Posted By: msula Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 4:17 AM
what does IIP 5.5 add in relation to 5.3? Just bugfixes and minor features? Or is this pro? Or something inbetween?
Posted By: chillin Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 6:49 AM
[]No this is a set of scripts that allows the admins to specify groups that are available via subscription (amungst other things). Users can subscribe to the group and make the payment via paypal. Then when the payment is comfirmed the group is automatically assigned to the subscriber. If they cancel or their subscription reaches end of term paypal automatically relays this to the site via their IPN process and the scripts adjust the subscriber accordingly. [/]

Very sweet JustDave, that would be a great feature. Are you on InfoPop's payroll yet?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 6:55 AM
The paypal addon is something that I am willing to pay for to use on my measurection site.

Well worth the investment.... as having something integrated with threads will be much easier to use than iBill.

I have nightmares about iBill.
Posted By: msula Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 6:59 AM
I don't have an integrated paypal solution, but a somewhat integrated form people fill out and it automatically shows them a paypal link. That alone works great. At times I can be pulling in 100+ per week

So having a really integrated paypal thing should only help generate more donations
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 7:01 AM
Especially if you need subscriptions like I do. I need people into the group automatically when I pay..... then out of the group when they expire or stop paying.

That'll be worth $$$ to me for sure.

IMO a "PayPal" bridge is beyond a simple "hack" as well. More of an "add-on". I've talked wtih JustDave about it at length personally, as I have offered to buy this solution from him.

I know he's spent alot of time on this.... and in JustDave/IIP fashion, I bet it'll be great. I intend to compensate him for his time.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 7:37 AM
[]what does IIP 5.5 add in relation to 5.3? Just bugfixes and minor features? Or is this pro? Or something inbetween? [/]

IIP 5.5 will contain some bug fixes and adjustments to work with the CSS specific table wrappers modification I posted in the beta mods. As far as minor features I'll be including the sidebarpal.php script that's in use here with the User Selectable Sidebar mod I posted in the beta mods. It will be configurable from IIP's control panel as well.

IIP pro is a ways off yet. I think it's safe to say before Christmass though. LoL
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/04/2003 7:38 AM
Oooh..

Sidebarpal.php!!! Can't wait.
Thanks Josh, for the menu box code!
an integrated paypal/membership thing I would also be willing to compensate for.. assuming it did what I need it to (when they donate, then auto-update groups according to how much they donate)
There isn't a "donation" solution at this time but it's planned on. What this does is allow for groups to be offered for subscription. Users can purchase a subscription to the group they want and after a successful payment via paypal they are automatically moved into the group they subscribed to. When the subscription expires they will be removed from the group.

The scripts will be available for purchase after Josh puts them through their paces on his site. If there's something wrong I'm sure he'll find it... lol
THAT.... is why I am Mr. Bug.
[]There isn't a "donation" solution at this time but it's planned on. What this does is allow for groups to be offered for subscription. Users can purchase a subscription to the group they want and after a successful payment via paypal they are automatically moved into the group they subscribed to. When the subscription expires they will be removed from the group.

The scripts will be available for purchase after Josh puts them through their paces on his site. If there's something wrong I'm sure he'll find it... lol [/]

Ok, well that is what I'm wondering. THe way you describe it, it will still work. The reason I say donation, is because we're non-profit, so we don't need any real "subscription" fees. But will your system allow say 3 levels of payment we can specify? Then asign them to the appropriate group? Because that is how I have it set up. Sure, it doesn't have to be called a donation, that can be changed... but as long as this does wht I think it does, it would automate what I spend an hour or so each day updating manually.

Yeah.... setup an item for $x and call it "gold level donation". etc...

You probably could adapt.

I'm excited about it.

I told my users to make their February donations... so I could pay JustDave.
Looking forward to what comes out of it It would simplify my life 10-fold!
Yeah me too. I can't wait.
<rubs his hands together and jumps up and down>

LOL
wheeee!!!
When you say "levels" do you mean groups? If so then the only limit is the number of groups you can create in .threads. Each subscription group has 2 trial periods and then a regular billing period. The first trial period can be set as free as well.
Before I upgrade to the new version of ubbt is it compatiable with IIP 5.3

Gill,

Just completed the upgrade of one of my customers and my dev board. Everything is working fine.

This new version fixes some bugs (more like syntax errors) rather than changing the functionality or the implemetation of the boards.
Thanks, Yeah it worked fine for me too, I got brave and went for it, (got good backups) worked great no problem.


One issue to look at Gill. Go to your templates/default folder and rename the file ubbt_closehtml.php to ubbt_closehtml.tmpl.

I believe that it was left by mistake in the distribution, since the file that calls it (ubbt.inc.php) references it with the extension .tmpl.
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.3 - 02/06/2003 5:28 AM
That would be awesome, I sell Memberships and have to activate and deactivate manually right now and it stinks so something like this would be cool. Could you make it so an email gets sent out 30 days before subsciption expires etc.? Also, is there a way to accept Credit cards, I already have that setup but not automated with threads of course. Any ETA on this project?
Thanks, done
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/06/2003 5:27 PM
PayPal already accepts credit cards.
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.3 - 02/06/2003 6:45 PM
Not sure what I was thinking when I asked that.
Any idea on when that mod might be finished?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/06/2003 9:39 PM
[]
Any idea on when that mod might be finished? [/]

I should be able to let Josh start using/testing it tomorrow. If there isn't many bugs to be fixed it may be available by next week. I still need to figure out some sort of licensing agreement or something... to much other stuff to think about right now though.
Posted By: Raconteur_dup1 Re: Integrated Index Page (IIP) 5.3 - 02/06/2003 10:03 PM
Hey Dave,

Does this new release fix the bug with the random spotlight user?

ChAoS had mentioned a fix for when the query returns no results, the PAL box disappears rather than requerying...

This is something I could fix myself, but am not exactly sure where it should go...

Thanks!

Chris
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/06/2003 10:23 PM
Yes 5.5 will have that fixed. There is no re-query though. It will simply skip updating cache. That's how I have it working here.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 1:32 AM
[quoteI should be able to let Josh start using/testing it tomorrow. [/]

Yippie skippie! That'll give me something to play with this weekend.

Down with iBill.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 4:58 AM
I got one question as it is rather a headache to read 40 pages to get this one answered.

I have no problem paying Dave for his hard work IIP is a great product and I think it is rather a great service that he indeed offers a version FREE.

I do have one question as I am seriously considering purchasing the PRO version. What are the differences going to be between 5.5 and the PRO version. I take it from reading that the PRO version will include a pay interface.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:14 AM
I think the PayPal Interface will be a separate thing from IIP Pro.

Pro will just have some cool extra (extensive) bells and whistles like the Calendar etc...
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:29 AM
Dave
Any idea on pricing for the IIP Pro and the PayPal addon? Now we just need more Threads features to be config by groups.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:35 AM
Okay so basically Pro will be bells and whistles.

Paypal additions will be a paid thing that will integrate with the free or pro version?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:41 AM
[]I got one question as it is rather a headache to read 40 pages to get this one answered.

I have no problem paying Dave for his hard work IIP is a great product and I think it is rather a great service that he indeed offers a version FREE.

I do have one question as I am seriously considering purchasing the PRO version. What are the differences going to be between 5.5 and the PRO version. I take it from reading that the PRO version will include a pay interface. [/]


There just isn't a quick easy answer for this one. I'll take an hour or two this weekend and see if I can cover all aspects of IIP Pro. The 5.5 version will be an update of the current release to fix some bugs and add a couple of new features such as a configurable sidebar display (sidebarpal.php). IIP Pro is a complete rewrite which helped in many ways.

The PayPal interface is a seperate set of scripts all together. Putting this together has helped me decide on a better layout for IIP Pro's admin area as well. I have been working on allowing a "demo" mode for the PayPal interface so the admin area can be browsed. Things are still looking good for it's "open house" tomorrow too.



With some luck I'll have 5.5 out next week and I can close this thread and start another long winded one... lol
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:43 AM
The PayPal inteface integrates with UBB.threads 6.1/6.2 and I may go through it and make it work with 6.0 as well. There will be no need for IIP to use it.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:51 AM
[]Dave
Any idea on pricing for the IIP Pro and the PayPal addon? Now we just need more Threads features to be config by groups. [/]

I really don't have any pricing ideas for IIP Pro at this time. It's not even close to finished so I haven't given it any thought.

I do have a price in mind for the PayPal addon but it's not going to be solid untill I get Josh's feedback and input. Heck, I may let him set the price.

One of the main things with IIP Pro will be it's use of groups in the various "main" features it will offer. Features such as the Calendar, Link Directory, Picture Gallery, File Area can be asigned to specific groups as well as individuals. Trying to tie it all together in a clean managable package has proven to be quite a task... lol (but not an impossible one)
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 5:57 AM
[]I do have a price in mind for the PayPal addon but it's not going to be solid untill I get Josh's feedback and input. Heck, I may let him set the price.
[/]

Oooh.... the power I have.
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:37 AM
Looking forward to the demo.
Not to change the subject but do you know if threads 6.2 will work right with the latest version of photopost?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:39 AM
Not off hand. I have never had photopost. I played with the demo on their site once but that's about it... lol
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:41 AM
[]Looking forward to the demo.
Not to change the subject but do you know if threads 6.2 will work right with the latest version of photopost? [/]

Yeah, there is one tweak that I posted here so that when you click user names in photopost it will correctly find the threads profiles. (username to usernumber change).
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:48 AM
Thank's Mr. Bug I assume the PhotoPost guys know about the usernumber change?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:51 AM
Yeah, I gave it to Michael the other day... I think it'll be in 3.3.
Posted By: coloradok5 Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:55 AM
Do you guys ever sleep
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 6:57 AM
No. But JustDave sleeps less. LOL
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 7:31 AM
If I get time next week I plan on working on sleep. Upgrading has been a pain since there is no backups. Perhaps an auto install feature would be helpfull.
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 7:41 AM
Didn't you run sleep 2.1 a few weeks ago?
I thought you had to shut it down because stuck "I must finish this script now" child processes were consuming too many resources...
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 7:58 AM
The best rest I ever had was when the power went out here in Charlotte for like a week.

Only so much you can do with an hour of laptop battery time and a few candles.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 8:00 AM
Actually it was the number of zombies showing up that worried me most... well mostly because I was looking like one also... uhhgg...
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.3 - 02/07/2003 8:19 AM
LOL!
would that be a JustPay JustDave link Josh?
LOL

I like it!

It should be called "JustPay" LOL
lmfao
[]LOL

I like it!

It should be called "JustPay" LOL [/]


LoL now that's funny!

JustPay 2.0 (Upgrade from JustOwed now!)
JustBorrowed 1.6



(and once Mr. Bug get's his hands on it: JustBroken ) LOL
Hi Dave and/or Josh,

I am mucking around with modifying the menu PAL to add a couple of key features to our site. I have everything working fine except when I click on one of the new links from the menu box (using $pbsize to expand into the center and right columns) my page is blank. If I click the "full" link that appears, the page displays.

I thought it was a file location issue, but that doesn't seem to be the case...

You can see it at www.syngnathid.org and the links are Library and Photo Gallery.

Any ideas?

Cheers,

Chris
Cool site!

Am looking around and giving it some thought right now.


By chance is the page that's being called to the center also using a require statement or include statement calling ubbt.inc.php or main.inc.php back in a second time? It shouldn't need to.

Just a quick thought.
Thanks, Dave! Cool site kudos go to you too for helping make it look cool!

Actually... the page is just a stub and looks like this:

Code
 <? <br /> <br />	echo "<center><h2>syngnathid.org Library</h2>Coming Soon!</center>"; <br />?> 
This is probably what's needed.

In your index.php script find this:

Code
<br />			// show full width?<br />			if (($pbsize == 2) && ($paction) && ($paction != "recommend") && ($paction != "ruthanks")) {<br />				echo "$fullwidthStart";<br />				include "{$palspath}/pals/menupal.php";		<br />				if ($paction == "polls") {<br />					include "{$palspath}/pals/polllistpal.php";			<br />				}<br />				if ($paction == "attachments") {<br />					include "{$palspath}/pals/attachmentlistpal.php";			<br />				}<br />				if ($paction == "profileindex") {<br />					include "{$palspath}/pals/profilepal.php";<br />				}<br />			}<br />


and add additional "if" statements to pull in your other files.

Code
<br />				if ($paction == "library") {<br />					include "{$palspath}/pals/library.php";<br />				}<br />


Hope that helps.
Hehe! One step ahead of you. Here is how it is coded:

Code
 // show full width?<br />			if (($pbsize == 2) && ($paction) && ($paction != "recommend") && ($paction != "ruthanks")) {<br />				echo "$fullwidthStart";<br />				include "{$palspath}/pals/menupal.php";		<br />				if ($paction == "polls") {<br />					include "{$palspath}/pals/polllistpal.php";			<br />				}<br />				if ($paction == "attachments") {<br />					include "{$palspath}/pals/attachmentlistpal.php";			<br />				}<br />				if ($paction == "profileindex") {<br />					include "{$palspath}/pals/profilepal.php";<br />				}<br />				if ($paction == "library") {<br />					include "{$config['homeurl']}/library.php";<br />				}<br />				if ($paction == "photogallery") {<br />					include "{$config['homeurl']}/photogallery.php";<br />				}<br />			} 
hehe...

Do these php files contain actuall php code? If so do the share any same libraries of .threads?
Assuming you mean "library.php" and "photogallery.php"... no... not yet anyway. I just put the stub pages up to make sure I could get it all working.

Eventually they will have code in them, but I do not anticipate threads library usage. They will just be PHP ports of some existing HTML.
Is there any code in these pages? If not then they may just be working. If you have standard html in them you may need to place that into an echo statement like such:

echo <<<EOF

Your html code goes here.

EOF;
That post further back with the "syngnathid.org Library Coming Soon" text is exactly what is in the page. Nothing else... Could that be it?
That shouldn't cause any problems by the looks of it. Make sure there are no extra spaces after the ?> closing and before the <? opening.

Nope... none.

Would it help to see my menupal.php and index.php??
Yes but I have to first head out and fix a furnace. I'll be back later tonight. Maybe someone else can help though so it wouldn't hurt posting what you have.
Right-O. Files attached.

Thanks, Dave!

Attached File
68002-IIPMenuStuff.zip  (13 downloads)
In your index.php file change these lines:

Code
<br />				if ($paction == "library") {<br />					include "{$config['homeurl']}/library.php";<br />				}<br />				if ($paction == "photogallery") {<br />					include "{$config['homeurl']}/photogallery.php";<br />				}<br />


to these:

Code
<br />				if ($paction == "library") {<br />					include "{$palspath}/pals/library.php";<br />				}<br />				if ($paction == "photogallery") {<br />					include "{$palspath}/pals/photogallery.php";<br />				}<br />


and it should work.
This is a good chess game, here... I did that but still doesn't work...

It is that way on the site now...
[]Hehe! One step ahead of you. Here is how it is coded:

Code
 // show full width?<br />			if (($pbsize == 2) && ($paction) && ($paction != "recommend") && ($paction != "ruthanks")) {<br />				echo "$fullwidthStart";<br />				include "{$palspath}/pals/menupal.php";		<br />				if ($paction == "polls") {<br />					include "{$palspath}/pals/polllistpal.php";			<br />				}<br />				if ($paction == "attachments") {<br />					include "{$palspath}/pals/attachmentlistpal.php";			<br />				}<br />				if ($paction == "profileindex") {<br />					include "{$palspath}/pals/profilepal.php";<br />				}<br />				if ($paction == "library") {<br />					include "{$config['homeurl']}/library.php";<br />				}<br />				if ($paction == "photogallery") {<br />					include "{$config['homeurl']}/photogallery.php";<br />				}<br />			} 
[/]

Ok. I just noticed that in the code you posted that it wasn't. In the code above you show that your trying to include the files via your "Home URL" and not the path to your threads.

I'll look over the files you posted again today and see what else I can find.
You are right, Dave. Sorry for the miscommunication. I had uploaded them with the old pointer to the 'homeurl', but then tried right after to put the library.php and photogallery.php files into the pals directory and changed the index.php to point to the right place. That is how it appears on the site now.

Do you want the new index.php too?

Thanks for all the time on this!

Oh, and BTW, is the mod for the "More>>>" link under the gremlins list on ThreadsDev? We NEED that!
Posted By: salim Dave your a genious - 02/08/2003 11:33 PM
One of the things that I decided to buy UBB.threads is for the IIP.

So dave, I will be installing the UBB.Threads tomorrow. WOuld it be safe for me to install the IIP zip, and be sure that everything would go okay. I would perfer before I put it live to my members, to have this IIP working and with no problems. CAn you help me out installing it. Because I am really nothing when it comes to PHP?
Posted By: omegatron Re: Dave your a genious - 02/09/2003 12:44 AM
Salim I sent you a Private Message if you need help installing it.
Posted By: msula Re: Dave your a genious - 02/09/2003 2:10 AM
Hey Dave, like Salim said, I have had many people ask me about my website and the IIP setup, and they bought UBB.threads as opposed to VB just because of your portal type system. So, keep up the great work. It is such a great asset to threads, and is still very much in its infancy. Look forward to what the future will bring, especially the paypal addon
Posted By: JoshPet Re: Dave your a genious - 02/09/2003 6:39 AM
He he...

Dave is a genius.... I've been saying it for more than a year.
Posted By: omegatron Re: Dave your a genious - 02/09/2003 7:11 AM
So Josh do we have an opinion on the paypal module yet?
Posted By: JoshPet Re: Dave your a genious - 02/09/2003 7:33 AM
Haven't seen it yet... but I think Dave got stuck fixing a furnace.

No pressure from me. When he finishes.... I'll install it. Depending on my week.... if he finishes it soon, I could probably have it up and running by next weekend to check it out.
Got it figured out!

Totally my fault... I did not add in the lines:
Code
 <br />if ($paction == "library") { <br />    include "{$palspath}/pals/library.php"; <br />} <br />if ($paction == "photogallery") { <br />    include "{$palspath}/pals/photogallery.php"; <br />}  


after the
Code
 <br />// create wide right column <br />echo "$widerightcolstart";  


Thanks for the help, Dave. Hope this takes something off your plate! Sorry to "bug" you with a bone-head error...
Posted By: JustDave Re: Dave your a genious - 02/11/2003 12:03 AM
I've made IIP pretty easy to install compared to some earlier versions. If you can set up .threads you'll be able to set up IIP.
Posted By: JustDave Re: Dave your a genious - 02/11/2003 12:11 AM
[]So Josh do we have an opinion on the paypal module yet? [/]

We (me and a good friend who is a heating/cooling contractor) worked on that !@#$%^% furnace over the weekend to limp it through. We installed a new one today. Woo hooo you just don't know how happy this makes me. LoL

We couldn't remove the old furnace since it's huge and as far as we can tell needs to be cut up with a torch before it can be taken out the door. It's an old coal furnace converted to gas and it's huge to say the least.

I'll be making a purchase from myself here shortly to test the paypal interface live. If all goes well I should be sending Josh the zip there after.
I'm glad you got it figured out! Sorry I wasn't able to look over your second index page. I may have caught it sooner.
Please help. I would like the eventspal.php to be listed. But I would only like to have it displayed for those that are logged in that have access to a private calendar. It currently does not do a check for this.

no access = not showing the box at all
access = show the box


Thanks
You could edit the index.php script to check their groups/status before including what ever custom pal box your using (number 1 by default). Other boxes could be done in a simular manner if needed.
Posted By: salim Re: Dave your a genious - 02/11/2003 1:14 AM
Thanks dave .

But my buddy omegatron is helping out installing both threads and IIP. I cant thank him enough, I cant imagine what would I have done without him, I would have been like totally lost.

But once I get my hands on it, I am sure in no time I will be as expert as you dave . IN MY DREAMS THAT IS
Posted By: ExcelsiorDDZ Re: Dave your a genious - 02/11/2003 1:23 AM
Why does this no longer work for index when called from menupal.php?? Any page I call from the include no longer displays.

if ($paction == "DDZChat") {
include "chat/index.html";
}
Posted By: JustDave Re: Dave your a genious - 02/11/2003 1:49 AM
Off hand I have no idea. Perhaps using the full path will work?
Posted By: ExcelsiorDDZ Re: Dave your a genious - 02/11/2003 1:53 AM
tried that already and no go. hmmm
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.3 - 02/15/2003 12:13 PM
I noticed in threadsdev frontpage,that every news post has a picture in the upper left corner. I wonder how can I do this but for the upper right corner, with news text proper alligned. I tried with html after created it in ms frontpage but the result was no good at all.

Thanks
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/15/2003 12:18 PM
In your newspal.php script find this:

Code
<br />if (($palPicture != "http://") && ($palPicture)) {<br />   $userPic = "<img src=\"$palPicture\" width=\"$palPicWidth\" height=\"$palPicHeight\" alt=\"$palUsername\" align=\"left\" />";<br />}<br />else {<br />   $userPic = "<img width=\"65\" height=\"75\" src=\"{$config[phpurl]}/images/nopicture.gif\" alt=\"$palUsername\" align=\"left\" />";<br />}<br />


and change it to this:

Code
<br />if (($palPicture != "http://") && ($palPicture)) {<br />   $userPic = "<img src=\"$palPicture\" width=\"$palPicWidth\" height=\"$palPicHeight\" alt=\"$palUsername\" align=\"right\" />";<br />}<br />else {<br />   $userPic = "<img width=\"65\" height=\"75\" src=\"{$config[phpurl]}/images/nopicture.gif\" alt=\"$palUsername\" align=\"right\" />";<br />}<br />


and that should place the user's pictures to the right.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.3 - 02/15/2003 1:09 PM
Thanks Dave. I thought that it was a custom pic. Is there any way to choose for every post a different pic so it has nothing to do with the profile of the news poster? I tried with html as I said before but the result was very bad. If you know any alternative or an html code that works
The result I would like to accompish is like in your test page of iip pro but with a different logo for every post

Posted By: omegatron Re: Integrated Index Page (IIP) 5.3 - 02/15/2003 3:03 PM
Dave,

Question about newspal it think. I helped install Threads and for a guy. Never seen this behavior before but I assume this must be something about his server which is a windows server. Setting up the index fails if you set more than one or two newsgroups. Now if I select one newsgroup and go back and edit one at a time you can cross your fingers and it works. However the index page will hang in a day or so. The index has hung at least 4 times in the last 5 days. Basically I have just deleted configpal.php and reconfigured IIP.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3 - 02/15/2003 4:50 PM
There seems to be a pattern developing here. Is this by chance a window's box? When I get a chance to finish up 5.5 I'll go over the scripts and try and make sure I have them working even if register globals is off.

Does the configure file get changed "all by itself"...? That would seem extremely strange. If at all possible I would love to have telnet/ftp access to the site to check some things out.

For the most part I believe it's a register globals problem. Perhaps I'll take a bit longer on 5.5 and fully utilize the "get_input" function of .threads. This will probably solve the problems once and for all. It's just a lot of tedious work... lol
Posted By: omegatron Re: - 02/15/2003 5:08 PM
Thanks for answering This is a windows box. I helped a guy install Threads and IIP since he was new. Talk about an experience. How bout a windows box without PHP or MYSQL

I had to get them to install PHP and MYSQL and tell the guy how to set up MYSQL. I just checked and register globals are off. The configpal does not necessarily get changed but after the index hangs I found best to just start over by deleting it. There is no telnet access to this site. Everything is FTP or bust. Is there a quick fix or do you think getting them to change the register globals to on in the PHP.INI file will solve it.
Posted By: JustDave Re: - 02/15/2003 6:36 PM
Changing the register globals to "on" should fix the problem. This is definately an area I need to spend some quality time on for 5.5

As far as IIP Pro goes I have this setting accounted for. (was easy to do when completely rewriting things... LoL)
Posted By: Gardener Short forum list pal - 02/21/2003 7:12 PM
Would anyone be interested in a pal box that lists all the boards the user has access to? I've done a module for Mambo Site Server and it would be quite easy to rewrite it as a pal box for IIP I think.
Posted By: Dalantech Re: Short forum list pal - 02/21/2003 7:29 PM
Actually that would be very !
Posted By: Gardener Re: Short forum list pal - 02/21/2003 7:36 PM
OK, I'll get on it some time this weekend.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.2 - 02/25/2003 8:37 PM
Any idea why I can't view html in my index.php even if I see without any problem in the regular forum? I allow html in the forum settings. I don't have any problem if I use standard text
Posted By: Dalantech Re: Integrated Index Page (IIP) 5.2 - 02/25/2003 8:46 PM
Can you give us an example of the problem (a hyperlink would be good)?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.2 - 02/25/2003 8:48 PM
In the IIP setup page... there's an option for each news forum to "strip HTML" make sure that isn't on.
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.2 - 02/26/2003 12:07 AM
I told you before that I love you Josh
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.2 - 03/03/2003 7:50 AM
Is there any way to avoid viewing polls which are closed when I choose random poll?
I choose Ignore polls in closed posts? with yes but they keep coming in the frontpage.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.3 - 03/03/2003 9:12 PM
I've finally gone live with my site and my users are happily digging through all the features. I knew they'd love .Threads.

Question I have is... My Max Online on the IIP page isn't showing any data since I went live. It WAS working on my test site, but alas, no more.

Suggestions?

I'm wondering if I even have the latest version, need to look at that again I think. hehe

[EDIT: Nope, have 5.2, will upgrade and see if that helps. tells you how long I've been in dev mode on my new board. ]
Posted By: Hal9000 Re: Integrated Index Page (IIP) 5.3 - 03/05/2003 1:54 AM
Should I need to delete the file IIP.modifydatabase.php ?

Also I can't get the past threads box . Any ideas?
Posted By: Zackary Re: Integrated Index Page (IIP) 5.3 - 03/05/2003 7:54 AM
Ok finally did the upgrade to 5.3.. Still no Short Stats listing for Max Online.

I'm stumped.

The only thing I can think of is maybe I goofed up the table for IIPCache somehow... No idea.

Suggestions anyone??
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/05/2003 7:59 AM
Do you have something like phpMyAdmin.

If you wanted to get agressive...
I would try dropping the IIPCache table...then open the IIP config and run the step to create the table. Maybe that'll get it back on track.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.3 - 03/05/2003 4:52 PM
I do have that, but I have something a tad easier to use.

MySQL Control Center. Since my server is right next to my desktop, I use this handy GUI to manage the database tables.

I thought about doing that, dropping the table. I'll give it a shot and see if it works. I was concerned if it would edit any other tables.

Perhaps I should try a clean install... Lots of thoughts this morning. Too bad I have to work.

Will look at it again tonight.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/05/2003 5:52 PM
Yeha, I don't think you can hurt anything just by dropping that IIPcache table. I've done it when I was having trouble once. I got hosed up once from running a BETA of IIP then I upgraded and something had changed.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.3 - 03/06/2003 3:04 AM
Didn't work.

Wiped out the pals directory. Dropped the table... still nothing. *sigh*

Figured I'd try a clean install by dropping the Pals directory. When I tried to run the modify db option it gave me an error saying it had already been done.

I did pop in and look at the tables and it had created the table AND populated it. Dunno why I got that error.

Any other suggestions?
Posted By: donnti Re: Integrated Index Page (IIP) 5.3 - 03/06/2003 6:18 PM
My max online isn't working either.
Posted By: bjsjr Re: Integrated Index Page (IIP) 5.3 - 03/06/2003 10:16 PM
Same here. My Max Online has been stuck at 19 for 2 days now.

Bill
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.3 - 03/10/2003 9:34 PM
Do you guys have the Who's Online pal box enabled? If you don't then the Max Online will not refresh.
Posted By: Zackary Re: Integrated Index Page (IIP) 5.3 - 03/10/2003 10:10 PM
Ahhh, so that's it huh? Need to have who's online enabled to have the stats thing work...

Ok got it working. Thanks!
Posted By: bjsjr Re: Integrated Index Page (IIP) 5.3 - 03/16/2003 6:51 AM
[]Do you guys have the Who's Online pal box enabled? [/]
I do and I'm starting to wonder if maybe I'm misunderstanding just what Max Online is supposed to be displaying.

My Max Online is updating every 2 days or so but the numbers sometimes go down. As of now, 03/15/03 11:48 PM, my Max Online box displays the date 03/14/03 10:48 PM. To me that looks like it hasn't updated in over 24 hours.

Bill
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/16/2003 6:52 AM
But have you gone over those numbers.

The Max Online is like a high-point record. It won't change until you go over those numbers again.
Posted By: bjsjr Re: Integrated Index Page (IIP) 5.3 - 03/16/2003 6:58 AM
Is it just using Total as the "high" point? I thought is was displaying the high point for Members, Guests and Total.

My current Total may be at it's highest point, but my Members was at 19 about 2 days ago and it's at 16 now.

Bill
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/16/2003 7:06 AM
I'm not 100% certain. But looking at it.. looks like it uses the total people online as the high point. So if there were 60 people max online (40 users and 20 guests) it won't update again until there are 61 users online (even if that's 30 users and 41 guests). Otherwise if it bumped the total of one of them.... then the total wouldn't match the total number of people online. That's what it's really tracking. It just gives the breakdown for some extra info.

Posted By: ChAoS_dup1 Re: Integrated Index Page (IIP) 5.3 - 03/17/2003 12:28 AM
[]bjsjr said:

My current Total may be at it's highest point, but my Members was at 19 about 2 days ago and it's at 16 now.

Bill [/]

Correct me if I am wrong but your "Members" total will reflect registered members at the current time of being updated. If say a newly registered member doesn't return the confirmation email (if you have that function enabled)then your total members would reflect that also by going down once that entry gets deleted.

Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/17/2003 5:47 AM
No this counts "members online" (logged in).... not total registered members.
Posted By: bdoughty Re: Integrated Index Page (IIP) 5.3 - 03/18/2003 12:16 AM
First off, great work here by JustDave and JoshPet .

We just installed (IIP) 5.3 but it seems to pull info from the database extremely slow; about 1 to 2 minutes to query the MYSQL db. Is there something that i can check to speed up the page load times? Thank you.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/18/2003 1:56 AM
Yeah,

You should try the "force public" option near the top... then set each pal box to cache the information. That way it doesn't need to look up everything on every page load. Also.... if you read down through the setup, it tells you what options slow things down etc.....

But caching the info should help alot.
Posted By: bdoughty Re: Integrated Index Page (IIP) 5.3 - 03/18/2003 8:00 PM
I tried that and we have even stripped it down to a few items and still have almost 30 seconds to load.

Here is what it is like with everything on it

http://forums.operationsports.com//ubbthreads/pals/index.php

I would love to have this as a front page if we could get it to load as quickly as it does here.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.3 - 03/18/2003 8:40 PM
One thing I noticed although it might not matter is that you are using double slashes after the .com. Also there was a popup that was telling me that my ip address was being populated - dunno if this was intentional or came out of another website but java might slow you down.

/2cents
Posted By: bdoughty Re: Integrated Index Page (IIP) 5.3 - 03/18/2003 10:55 PM
The // has always been there but taking one away does not seem to affect anything. The java was a popup and it has been removed temporarily but did not solve the problem.

Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.3 - 03/19/2003 1:09 AM
Another suggestion: Did you check whether your database is optimized? Maybe another suggestion is to drop the IIP cache table and recreate it.

What you could also do is display the debugging information at the bottom of the page (below the copyright notice).

Strange though. At work I have a 2Mbit leased line and it took me the best part of 10 seconds to see the front page while here at home with 512Kbit I saw it in 4 seconds.... At work I was using IE 6 while at home I use Mozilla.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 03/19/2003 1:36 AM
Also... if your forum is big... disable any pal boxes you don't absolutely need. Try turning most of them off... and putting them back little by little. That can help you track down which one adds a great deal of load. When you do, you can play with the settigns for that pal box, and see if it helps.
Posted By: bdoughty Re: Integrated Index Page (IIP) 5.3 - 03/19/2003 6:53 PM
Apprecaite all the assistance. Looks like we have it to where it is loading in a reasonable time.

Posted By: msula Re: Integrated Index Page (IIP) 5.3 - 03/19/2003 9:15 PM
my solution was to buy a more powerful server

That increased my index loading times from 7-8 seconds to less than 3
Posted By: bdoughty Re: Integrated Index Page (IIP) 5.3 - 03/20/2003 8:33 PM
[]msula said:
my solution was to buy a more powerful server

That increased my index loading times from 7-8 seconds to less than 3
[/]

Actually that is the next step and should help.
Posted By: xeney Re: Integrated Index Page (IIP) 5.3 - 03/23/2003 5:22 PM
Wow, this is a really long thread. I tried to read everything but I kind of got lost around page 30, so forgive me if this has been asked and answered.

We just installed 5.3 with Threads 6.2.3, and we love it, and you've done a great job. But we can't get the "profile spotlight" to display consistently. We've set all the directory and file permissions as you specified earlier in this thread. The change happens but then on reload the profile spotlight is gone.

We've tried changing cache times, removing some or all of the checked profile fields, and nothing. Last night we did isolate this, however: if you use the "index.php?Cat=&RefCache=1" extension, the profile loads just fine, and in fact it will refresh if you refresh that page. Any other URL ("index.php" or whatever) displays the page without the profile spotlight.

Any ideas?
Posted By: MattUK Re: Integrated Index Page (IIP) 5.3 - 03/24/2003 1:27 PM
Its been said already, but needs to be said again..

THIS IS SUPERB! Well done Dave!
Posted By: AKD96 Re: Thank you - 04/02/2003 11:35 PM
I'm having a date problem with my front page. If you go to http://www.drumlines.org you'll see that the first Announcement's date (Keywords) is dated to have been posted 12/31/69. Looks like I'm the first Internet site ever! Any ideas?

The date is correct when you go to the actual post. I have run "Check Last Post Date" and even "Thread and Post Counts" but neither found the error. The problem only seems to be a(e)ffecting the IIP page. I have renewed the cache and even gotten rid of the announcements on IIP and then added them again. Still says 12/31/69
Posted By: PhotoPost Re: Thank you - 04/04/2003 5:12 PM
Xenxy - the problem is the cache timeout - it doesnt work in the current verson of IIP. Unless you have a period of time where nobody hits your page for the timeout period, the cache will never change.

Its a known bug.
Posted By: Pasqualist Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 1:41 AM
I would like to know if it's possible to make my forum work as drawn in the picture below. I've seen it on other sites, so I hope someone can point me in the right direction

[]http://www.multifire.nl/example2.jpg[/]

Thank you!
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 1:46 AM
That looks kind of like what we do here.

The sidebar modification is posted somewhere here... it allows you to create a sidebar and users can choose to put it left/right or off.

I've done the shoutbox on the sidebar. To include more pal boxes (like we do here) is a bit more complicated.

JustDave's next release (long awaited) will make this easier though. that's what we have here.
Posted By: Pasqualist Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 1:56 AM
Thank you for your quick reply Josh!

My plan was to wait for the new version of the IIP, but it's taking too long now, so started with this one today

I will try to find the sidebar mod. Thanks
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 3:10 AM
The sidebar modication for IIP is part of IIP 5.5 which Dave has not released yet.
Posted By: smilesforu Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 10:30 AM
I killed my shout box and tried reinstalling it but no luck. I could delete the old posts but it wouldn't allow me to post to it. I deleted the forum and tried again... guess I will wait for the 5.5 to come out to try again. I must have removed something along the way in all the mods I installed. Shout box is turned off right now.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 12:04 PM
Shoutbox is easy. Just enclose it in the IFRAME tag



Posted By: smilesforu Re: Integrated Index Page (IIP) 5.3 - 04/08/2003 10:03 PM
Shout box shows up just fine but nothing gets added to it when trying to post. Shout screen goes blank when you submit.
Posted By: DaMan Re: Integrated Index Page (IIP) 5.3 - 04/14/2003 6:36 PM
ive seen a person who run IIP on threads v6.1.1
my account expired some time ago and last version i got is 6.1.1
where can i get copy of IIP that runns on 6.1.1?
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3 - 04/15/2003 4:54 AM
check back pages in this forum... 5.0 maybe?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 04/16/2003 1:57 AM
As the "self-appointed" keeper of IIP in JustDave's absence... I have updated the main post to version 5.3.1.

No "real" changes were made. The only changed file is index.php and editconfigpal.php (updated version number in there). I just tweaked it to work with UBB.Threads version 6.2 and 6.3.

Posted By: Dalantech Re: Integrated Index Page (IIP) 5.3.1 - 04/16/2003 8:52 AM
Thanks Josh!

I sure wish JustDave would pay us a visit...
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 04/16/2003 8:14 PM
Thanks

This isn't important, but there are two extraneous files named .DS_Store in the .zip.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 04/16/2003 8:30 PM
Doah.... thanks.

I think I need to update my "stuffit" on the mac. It keeps telling me that there's a new version.

Updated my OS the other day, and since then, those files are ending up in my zips.
Posted By: DaMan POLL - unable to vote on the first page - 04/16/2003 10:04 PM
i'm unable to vote on the index.php page of IIP (no user actually is able to vote) voting on same poll in the forums is working fine. When i click vote button the page reloads itself but no vote is beeing registred.

Anyone with similar problems?
im running threads 6.2.3 and IIP 5.3.1
Posted By: JoshPet Re: POLL - unable to vote on the first page - 04/16/2003 10:37 PM
Yeah, I noted it in the sidebar thread. Didn't realize it for IIP as well, but makes sense since it's the same file.

If I get a chance to see what I can see, I will.
Posted By: JoshPet Re: POLL - unable to vote on the first page - 04/16/2003 11:00 PM
Actually I just checked this out.

It works fine on the index page. Just not in the sidebar.

Weren't you the one with all the path problems at infopop community?

It looks like the poll pal uses PHP_SELF.... which some servers aren't set up for.

That may have been the install issues you had.

Try this.

Backup your file first. But in index.php
try changing PHP_SELF to SCRIPT_NAME

There's only one occurance, about halfway down. Do a find for it. See if that helps.

Posted By: DaMan Re: POLL - unable to vote on the first page - 04/17/2003 11:46 AM
Yes it's me (missing next step buttons and stuff)
Posted By: DaMan Re: POLL - unable to vote on the first page - 04/17/2003 11:51 AM
Ok, I did as you said, didn't help
Posted By: JoshPet Re: POLL - unable to vote on the first page - 04/17/2003 4:29 PM
Is it just you... or can others not vote.

The poll pal uses some javascript to work.

Do you have a URL to your site?
Posted By: DaMan Re: POLL - unable to vote on the first page - 04/17/2003 8:30 PM
www.momsquad.net
nobody can vote on first page (I've made test poll and its not working) permissions for voting is set to everyone
Posted By: JoshPet Re: POLL - unable to vote on the first page - 04/17/2003 10:17 PM
It seems to be trying.

In your php setup... is register globals on or off?
Posted By: DaMan Re: POLL - unable to vote on the first page - 04/18/2003 1:11 AM
i dont really understand what u mean by saing PHP setup...
u mean my php installation or do u mean setting in one of the php files?
Posted By: DaMan Re: POLL - unable to vote on the first page - 04/18/2003 1:36 AM
it was off, i have turned it "ON", rebooted, tryed to vote, didnt work ;(, so i have turned it off again for security reasons.

any other ideas... ?
Posted By: DaMan Re: POLL - unable to vote on the first page - 04/18/2003 1:41 AM
btw i feel like im cursed ;(
isnt that odd that I am getting problems that no one ever had be4 or atleast never posted anything about them? I am spending most of my free time on looking for solutions ;P
Posted By: JoshPet Re: POLL - unable to vote on the first page - 04/18/2003 2:23 AM
I'm thinking there's got to be something with your server setup. You've had so many issues that nobody's seen before.
Posted By: DaMan Re: POLL - unable to vote on the first page - 04/18/2003 3:19 AM
it might be somthing with the windows version of PHP I have latest on my server. Do you know anyone that runs server on windows and PHP works flawlessly for him?

Or culd anyone (that runns WINDOWS) post his PHP.ini so that i culd compare it to mine?



Posted By: DaMan Re: POLL - unable to vote on the first page - 04/20/2003 6:37 PM
Yippi... problem solved! it was php4isapi.dll I switched the module to PHP.exe for php extensions
heheh.. The .dll hasn't worked for me very well either. Glad you got it worked out
Posted By: Doogz Re: Integrated Index Page (IIP) 5.3.1 - 04/22/2003 3:25 PM
Good job guys, installed it yesterday with absolutely no problems!

Great job!
Posted By: slayer60 Re: Integrated Index Page (IIP) 5.3.1 - 05/09/2003 8:25 PM
When users who aren't logged use the shout box it shows up as Anonymous. The field is there to type a name but it doesn't show up. If you type in a username that is taken it tells you that it is already being used, but if you type an unused username it just shows up as anonymous. I have the allow unregistered users to use the shout box set to one and the allow unregistered users to specify a nickname with the shout set to one.

UBBt version 6.2.3, IIP 5.3.1, Linux Redhat
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 05/10/2003 6:37 AM
Is IIP working with the current beta version???
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 05/10/2003 6:46 AM
I'm using it with 6.3b3.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 05/10/2003 6:47 AM
Yup. You need to either edit the version check step in 5.3 or download 5.3.1 from this thread.
Posted By: Storm_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 05/10/2003 6:48 AM
Ya tease.... 6.3.b3.....lol

Thanks guys!
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 05/10/2003 6:53 AM
he he
Looking forward to b4.
Posted By: Pasqualist Re: Integrated Index Page (IIP) 5.3.1 - 05/10/2003 6:54 PM
Now when clicking on the profile index-link in IIP5.3 I see all my members listed alphabetically, but I would prefer a different order. I would like it to be sorted on activity! (most active posters on top).

Another question: what my cause that I don't I see the avatars in the profile index? I only see the standard avatars with the question mark... In the random profile on the entrance page I do see the avatars.

Thanks!
Posted By: Pasqualist Re: Integrated Index Page (IIP) 5.3.1 - 05/14/2003 12:13 AM
When someone logs in on the entrance page of IIP, I want that user to stay on the entrance page instead of being forwarded to the forum index. How can I change this ?

a change in start_page.php ?

Thank you
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 05/14/2003 12:19 AM
Agavalan made a hack to allow you to add new start pages.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 05/17/2003 5:03 PM
Question about the Link to configure. I have been searching for a other incidents like this one. I have not reedited IIP or anything so I do not know what caused this. I noticed the edit link down the bottom is gone. I have deleted IIP and database tables as well. So I started with a fresh install here of IIP and still there is not IIP link. Weird one. I tried logging out clearing cookies etc. To no avail. No biggy as I can edit the config file by hand.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 05/17/2003 5:08 PM
I'm not sure what changes were made by Josh in 5.3.1 so it's hard for me say what may be the cause. There shouldn't be anything database related that pertains to this though.

/paging Doctor Josh...
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 05/17/2003 5:43 PM
LOL Nope I just meantioned I deleted everything including the database tables and did a CLEAN INSTALL of IIP. Yeah probally not database related but just started over to make sure
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2003 8:20 AM
All I changed was the version check bit to allow 6.3 as well as 6.2... just for those who were uncomfortable trying to make that change on their own. Seemed easier.

Omegatron,
I think it appends the IIP link to the version number that threads uses in the footer "$VERSION".

Your site is missing the threads version number - and thus the IIP link won't appear.

Check your ubbt_footer.tmpl for the missing $VERSION variable. Might need to try a fresh copy of that template. Once the threads version number shows up for you - the IIP link should as well.

Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2003 2:39 PM
Simple Human Error then thats easy enough cause. Except the $VERSION variable is indeed in the ubbt_footer.tmpl

Seems I had removed the $VERSION variable from the line in the footer call where we needed to add $dbh for the sidebar.
Posted By: shortbus Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2003 7:43 PM
is there something wrong with this style sheet or template? I noticed once you get up to 37 pages, that and the "show all" link are kind of squished.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2003 7:48 PM
I only have 28 pages. (showing more posts per page)

It seems to look fine for me with the preferences I'm using.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2003 11:25 PM
I have 55 pages and it the show all views fine for me as well. More like a browser issue most likely or screen size issue? What size you viewing at?
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2003 11:35 PM
I've got 90 all okay
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 05/19/2003 1:23 AM
I have my user prefs set to display 20 posts per page.
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 05/19/2003 1:28 AM
Mine was 10. Ian must have his set to about 5
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.3.1 - 05/19/2003 1:34 AM
LOL - I have a thread that has 2720 replies in it so far
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 05/19/2003 1:42 AM
[]/paging Doctor Josh... [/]
I've never been called a "Doctor" before. LOL
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 05/24/2003 6:10 PM
is the code in the first post the latest code?
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 05/24/2003 9:58 PM
Yes, I believe so. That's what I'm using, with the addition of extremebikini's cache fix.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 05/24/2003 10:16 PM
thanks Dave
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 06/07/2003 12:04 AM
Dave -

I have a site here: http://www.athenalink.com/forum/index.php

That just started rendering incorrectly.

The page stops rendering if the newspal is "on". It was working fine... no changes to report. Then poof.

I left the newspal on so you could see.

I've tried reuploading all the files - I dropped the IIPcache table and recreated it.

Strip HTML is on. It seems to not matter what forums are selected either.

Any help you might have I'd appreciate.

Josh
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 06/07/2003 2:58 AM
All I see is a blank white page... the doc type says:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

I'm not sure if the wrong doc type would keep the page from displaying or not...
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 06/07/2003 3:01 AM
Hmmmm....

Now it won't load for me.

There may be something else going on.
Thanks.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 06/07/2003 7:59 AM
he's had server probs off and on, you might wanna check back shortly
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 06/07/2003 8:06 AM
He used to run his own server... I moved him to a new host right before I went to Italy. It works just fine - until I put the newspal in there - then the page won't render.

I've tried different combinations of forums.... and it doesn't matter. Doesn't like newpal all of a sudden.
Posted By: dimopoulos Re: Integrated Index Page (IIP) 5.3.1 - 06/09/2003 2:40 AM
I had the same thing with newspal and I have been busting my head to find the solution. The problem is on my site - hence I took the newspal off but on the other site that I have it works wonders....

Mysteries of nature... LOL
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 06/09/2003 3:12 AM
Yeah, thanks. I'm still pondering the solution.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 06/09/2003 6:26 AM
that doctype is most likely the page served up when there's an error, not necessarily the IIP page itself...
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 06/09/2003 6:44 AM
I believe so too.

What Josh has concluded is that IIP is failing at generating the news from very large boards. This has prompted me to redo the news section of 6.0 before I push it out. I'm not working on it at the moment so I can't say for sure when I'll have it done. Maybe before the month is over.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 06/09/2003 7:54 AM
hehe... looking forward to it when you do Dave
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 06/10/2003 3:56 AM
Can't wait 'til 6.0!!!! Keep up the excellent work!
Posted By: Jamin Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 3:06 AM
Sorry if this has been posted before... normally i don't like posting things unless i know they haven't been answered already - but with almost 40 pages to go through, I just don't really have the time.

Anyway, my question is - is it possible to have IIP show how many total new posts since your last visit? I have my homepage set to the IIP page, and it would be nice to know whether there is any reason to continue on to the main forums or not. Is this functionality already included and I'm just a dumbnut who can't see it?

Thanks in advance!

---Jamin
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 4:05 AM
I don't think that's included, but it wouldn't be difficult to add that into one of the custom boxes. You could do a query to count the number of posts since your "last on" time.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 6:01 AM
hey Jamin

I would think that would slow a large forum to a crawl, but I may be wrong
Posted By: Jamin Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 2:51 PM
Hmm, alrighty then. Thanks for the info.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 6:22 PM
It would be possible but I'm not sure if the impact on speed would be worth it. One would have to go through the same steps as the forum index uses to calculate the new posts.

Perhaps adding an additional field to the user's table that stored the timestamp related to the user's last viewing of the forum index and then counting the number of new posts, based on their groups, since the last time they viewed the forum index?

This would add an additional query to the ubbthreads.php page for storing the timestamp and only require one query on the index page to calculate the number of new posts. Would this suffice?

Is there anyone else that would be interested in such a feature?
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 8:16 PM
I would, can you click the link for a search page result that would show them in the YASM fashion (with postbits)?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 8:23 PM
That should be doable. Would the results only display posts made since the forum index was last viewed? This would keep the number of subjects being displayed related to the number of new posts since last viewing the forum index.
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 06/14/2003 8:36 PM
Yes, this would be very similiar to how open topic does it
Posted By: Gardener Timed execution of pals - 06/16/2003 3:03 AM
I just did a small modification to IIP so that the time it takes to execute each pal is printed below the pal if ?debugt=1 is added to the url. It made it a lot easier to check which of the pals take a lot of time. If anyone else is interested in this I could release instructions on how to add it.
Posted By: JustDave Re: Timed execution of pals - 06/16/2003 3:30 AM
I already have such a thing in place for 6.0+ but thanks anyway

Actually what I did was set a toggle in the configure panel that will show the time displays to admins only. It was easier than having to add to the url each time.

Maybe someone would like it for 5.3.1?
Posted By: Gardener Re: Timed execution of pals - 06/16/2003 4:01 AM
Oh, that's great! Even more reason to be excited about 6.0. =]
Posted By: JustDave Re: Timed execution of pals - 06/16/2003 4:13 AM
I am currently redoing (well not at the moment) the main include script for IIP 6.0 so that I can allow for the side bar much more easily than the my previous route.

In order to protect the data being generated from outside variable contanimation I have moved everything into classes and/or functions. I'm pretty close to having another project out of the way and will be able to put more time into IIP.



(side note: If I remember correctly when I was using the debug=1 in the query string it would cause problems in the sidebar when being displayed on the right and I had to rename the $debug variable in the send_footer function and modify the ubbt_footer.tmpl to match. This was one of the reasons I moved to a dedicated debugging toggle for IIP. (less editing elsewhere) )

Posted By: Dslam Re: Timed execution of pals - 06/19/2003 3:37 AM
hey any reason why this version is so slow for my site .
www.digital-boneyard.com
takes forever to load
Generated in 17.806 seconds in which 17.554 seconds were spent on a total of 19 queries. Zlib compression disabled
Posted By: JustDave Re: Timed execution of pals - 06/19/2003 5:52 AM
What version were you using prior?
Posted By: JoshPet Re: Timed execution of pals - 06/19/2003 6:54 AM
I'm thinking this is a victim of having lots of posts too. You've got hundreds of thousands of posts.

Are you using caching?

There are a variety of tips in the config to gain speed. How are your options set? Do you generally go with the option that's easier on the server?
Posted By: Dslam Re: Timed execution of pals - 06/19/2003 5:25 PM
humm ok I had version 5.1 maybe ? I was running threads 6.1.1 now I'v upgraded to 6.3 & the lastest pals
yes using cache.

edit. I dropped 2 pal box's & enabled zlib
Generated in 5.394 seconds in which 5.341 seconds were spent on a total of 17 queries. Zlib compression enabled.




Posted By: Dslam Re: Timed execution of pals - 06/19/2003 5:46 PM
ok . the board it self is fast
Generated in 0.032 seconds in which 0.004 seconds were spent on a total of 22 queries. Zlib compression enabled.

but pals are a bit slower , i have less pals then this site does yet mine is so slow
Generated in 7.743 seconds in which 7.688 seconds were spent on a total of 16 queries. Zlib compression enabled.
Posted By: gbmayes Re: Shout Box, Short Stats - 07/01/2003 2:24 AM
I upgraded from threads 6.2 to 6.3, upgraded to current IIP, and added sidebar. My shout box is erratic, crashing frequently, possibly related to configuring which boxes to show on the sidebar. Clicking on shout produces a "page error" message on the browser. The short stats are not remaining history based but seem to more nearly mirror the actual number on line in real time. I'm not positive this is an error as it may be related to reinstalling sidebar twice.

Cosmetically, I'm curious where the table width is set for the top bar, the one that comes out of the box with the Infopop notation. It is the only bar that is not resizing with the sidebar add on.

Brent
Posted By: JoshPet Re: Shout Box, Short Stats - 07/01/2003 3:16 AM
I don't know the answers to the first part -

But the infopop header is in the generic header (Under admin you can edit the generic header).

It's just a placeholder - most people replace it with a custom header of their own - so it uses a preset table percentage.
Posted By: gbmayes Re: Shout Box, Short Stats - 07/01/2003 3:28 AM
Thanks, I just needed to change it from the default 95% to 100% as reccommended with the sidebarpal change.
Posted By: AKD96 Re: Shout Box, Short Stats - 07/10/2003 4:01 AM
I had 53 "guests" on at once a few days ago (probably spiders) and at the time there were only 3 members online. This ruined my Max Online stat. Right now I have 23 members and 2 guests online, which is more the norm. How can I reset it? Also, is there a way to change it to Max Members Online instead of members AND guests?
Posted By: fishtails Re: 6.3. and IIP 5.3.1 - 07/14/2003 4:42 AM
Well, I hate to come off sounding stupid, but I'm having trouble with IIP 5.3.1. (Yeah, I finally found the time to upgrade my site, but not without problems.)

I'm upgrading my site to 6.3 and have installed the IIP 5.3.1. I get the link to the admin section, but after I update, I still show the index page as being closed.

The first message I get is this:
Version missmatch! IIP will not work with UBB.threads&#8482; 6.3.

Then, after I go in and update the config (I get no errors) I get the same thing. I see threadsdev is using 5.3.1 with 6.3, yet I can't find where the problem is. None of my search terms are working for me, and this thread has gotten so big it's hard to find anything.

Thanks.

Edit: The link at the bottom of the page does not show a version number, if that helps. It reads:
.: IIP by David Lozier ©2002 :.
I read somewhere about the version number having something to do with this, but I can't find it again.

Another edit: I just noticed that when logged out there is no link at all. I know I saw this somewhere, but where I do not know?
Posted By: Dave_L_dup1 Re: 6.3. and IIP 5.3.1 - 07/14/2003 5:42 AM
Change the version check in index.php:

if (!stristr($VERSION,"6.2") and !stristr($VERSION,"6.3")) {
Posted By: fishtails Re: 6.3. and IIP 5.3.1 - 07/14/2003 6:34 AM
Thanks. That did it. I guess I had the 5.3 download and not the 5.3.1 download.
Posted By: magik Re: Integrated Index Page (IIP) 5.3.1 - 07/18/2003 6:47 PM
https://ubbdev.com/forum/showth...;view=collapsed&sb=5&o=&vc=1

[] now 28311

last post have number 38496

hmmm delete 10 000 posts ? i dont bilive this stats
[/]

hmm I`m using shoutbox and every shoot is in MYSQL as difrent posts ?
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 07/24/2003 3:55 AM
No matter what I do, everytime I refresh a page that includes the sidebar the random profile changes to a different profile. I had it set to 30 minutes and it has always done this. I didn't pay much attention to it until today.

I changed it to 1,440 minutes and it still changed with every refresh, and it disappeared from the SideBar (it only appeared on the main IIP). So I set it to 720. This made it reappear on the SideBar, but it still changes profiles with every refresh.

I know it holds here at the same profile. So what's the dealie, yo?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/24/2003 4:02 AM
Yes, each shout is a post in the shoutboxpal board.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/24/2003 4:06 AM
I haven't any idea on this.

The last time I looked at the sidebar script was before Josh even posted it for download. (and that's been a while now)

It does sound like a cache problem though since it's being updated at each page load, if that helps any.
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 07/24/2003 4:27 AM
Well yeah, it's a cache problem...but how do I fix it?

And when, oh when, am I going to get my gold bean?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 07/24/2003 8:54 AM
You've got your gold bean... hit refresh. You're probably seeing a cached image.

Do you have the force public option on? I don't think the caching works unless the "force public" option is on for IIP.

It does seem to work correctly here - the profile, but we are using the force public option with IIP.
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 07/24/2003 9:26 AM
Yay!! I'm golden!!! Congrats on the Silver!

My force public has always been set to "1"
Posted By: baby_d_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 07/25/2003 2:32 PM
Its very cool hack...

thanks JustDave
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/25/2003 3:56 PM
Your welcome
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/29/2003 5:24 AM
I'm having an issue with the Random Profile Pal. If I set the cache on anything other than 0, the pal will show once, than disapear. My Homepage
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 07/29/2003 5:40 AM
Do you have the "force public" option on at the top?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/29/2003 5:51 AM
Possibly could be do to having to many required fields to qualify for display? Uncheck all of the boxes in the configure panel related to the random profile required fields and see if that helps.



On a side note, to keep the random profile box from going blank just check to see if the update query grabbed anything and if it's empty don't update. Hope that made sense... lol
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/29/2003 6:50 AM
Yes, I have "force public" on at the top as I have several private forums.

I only had 2 fields checked, but I tried unchecking them, and it still didn't work. It will show when the cache refreshes. And I'm a bit lost on the update quiery thing...
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 07/29/2003 7:03 AM
[]Paul said:
And I'm a bit lost on the update quiery thing...[/]

Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 4:19 PM
I checked my SQL database, and there is info in the RandProfile Cache, so why doesn't the script use it?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 5:23 PM
If the 'use cache' option for the random profile has a number other than 0 in it then it should be using cache.
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 5:26 PM
I've lost track of exactly what's being discussed, but is the known problem with the IIP cache relevant here?
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 5:33 PM
Nope, not exactly. From what I gather *nothing* is being added to cache for the random profile.
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 6:47 PM
It's set on 1440. It seems to be writing TO cache, but not reading FROM cache.

Just off the note, While looking at the IPPCache table, I noticed nothing was being written to the poll fields even though they are set to use cache.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 8:18 PM
I've seen some goofiness before from time to time on a few sites.

Sometimes dropping the IIPCache table and recreating it has fixed this.

(ie something - a timestamp etc... - is messed up).

Might be worth a try.
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 9:35 PM
Funny, I actually did that a while ago with no success, but I'll give it another try.
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 9:56 PM
Nope, didn't work. The Random Profile still disapears after the cache is written.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/30/2003 10:54 PM
[]Paul said:
It's set on 1440. It seems to be writing TO cache, but not reading FROM cache.

Just off the note, While looking at the IPPCache table, I noticed nothing was being written to the poll fields even though they are set to use cache. [/]

The poll fields are there for my future attempt at getting them to store and update correctly while being functional. For now there not used because I just didn't have enough time to get it working right.
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/31/2003 12:35 AM
OK, didn't know if maybe it was part of the problem or not. Setting the Random Profile to 0 gets it to show, but it changes every time the page loads.
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/31/2003 1:16 AM
Try 10 or 20 minutes. There is a flaw in the current cache system in which it's possible that cache is never updated on a high traffic site. Your setting of 1440 may have been to long and thus it was never expired to be updated. If that makes sense. PhotoPost made the patch to fix this problem. Try searching for PhotoPost - IIP cache - and see that brings up the post.
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 07/31/2003 1:45 AM
The partial cache bug fix is described here:
https://www.ubbdev.com/forum/showthreaded.php?Number=76400
https://www.ubbdev.com/forum/showthreaded.php?Number=79006
Posted By: JustDave Re: Integrated Index Page (IIP) 5.3.1 - 07/31/2003 2:24 AM
Thanks Dave
Posted By: Sonic Re: Integrated Index Page (IIP) 5.3.1 - 07/31/2003 5:47 AM
I tried both the fix and lowering the cache time, and it still didn't work.

What I don't understand is the cached HTML is in my database....
What would cause the date of the post to show 12/31/69 07:00 pm on the IIP page? The actual date of the post is 07/04/03.
Earlier versions of threads used that date for "sticky" posts. That was changed in version 6.2 and up.

IIP didn't interpret this correctly (and/or older versions of threads didn't un-stick the stuff back to the right date).

What version of threads are you using?
I have the 6.3 version of threads installed. Actually I just noticed this today.
I don't know why it's still showing up for you. As of 6.2 a flag was added to tag sticky posts, so that the date of the post did not need to be altered.
Okay, thanks Josh
I made a change in the IIP Configure Panel to move the pal box #3 from the side to the middle. After updating the settings the page has a bar with "Index Closed" and a "We are currently updating this page..." message. Going back in the Configure Panel the old setting is still there. I copied the original pal box back over but still get the index closed message.
In the configure panel towards the top is the selection for open/closed Open?
The forum is open. I found out that the configpal.php keeps getting written out as 0 bytes. I copied a backup back over but it will get written out as 0 bytes if I user the Configuration panel to update the settings.
Hi guys,

Just added the "Show users in chat1.0" to our board, works great but only shows up on the chat page, really could do with drawing people in from the "Entrance"...

How easy would it be to add the script to IIP, at least that way when people arrive at the start page "Entrance", they may be tempted to go into the chat room...

Thanks In Advance

Brett

www.rs-i.net

Are you using the mod that I wrote that places it under the menu bar of threads. If that's the case it will appear on all threads pages (including IIP).
Josh,

Yes its the one you wrote, its a mystery to me...??

Only appears on the actual chat page..

I have no idea, simply copied and pasted the text, seems to work OK with no errors....

Any Ideas..??

Thanks

Brett

How do you know it doesn't appear anywhere else?

It can't only appear in the chat page if it's part of the menu - that template is common to every page. It's all or nothing by design.

How are you checking it? Are you going into chat then opening a new window yourself?

Who's online updates each time a page loads in threads. It's based on the most recently loaded script in the person's browser. So even if you go into chat and open a new window with the entrance page - your most recent who's onlin entry will show up at the entrance. You'll no longer show in chat.

Is that how you're checking it?

You need someone else to go into chat - stay there and not load anyother windows. Then you can check. It won't be accurate the minute people open up another window. That's my hunch on what you're doing.
Another good way to check is to use another browser say Opera login with another user - go to chat - and then you will have two connections at the same time to your forums However be careful as depending upon which chat service you are using you might get a 7 day ban for having two logins at the same time to the chat room itself, from the same IP
I loggin in on broadband on one machine and logged in as myself... Loggod onto chat...

Turned on laptop and logged onto Net using dial up...

The entrance displyed the "1 User In Chat", Was my other PC...

Logged onto BBS, message about chat users had gone, just normal title bar in both entrance and main index, but when i went into chat page, it was back...

Went onto other PC, the braodband one, both were logged into chat, yet title bar said "1 user in chat"

The only other way I can get this message to pop up is in the entrance for a new user, only once, never comes on again, except if you go into the chat page....

I have cleared the cache, everything....

I am no PHP whizz as you have guessed, but this is weird....

CheeRS

Brett

Are you using the same login on both?
No it was a differnet login....

But all of a sudden its working fine...?!?!

I can only think my ISP has lazy servers, I have not touched a thing...... But 2 hours after I did the MOD..?

I will keep an eye on it anyhow, Mnay many thanks for the replies.. IT, It never stops amazing you how brittle it can be....

CheeRS guys....

Brett



(Very Baffled By This)
Posted By: Ian_W Re: Reset Short Stats - 08/20/2003 2:35 PM
Hi,

Maybe this is staring me in the face, but I can't figure it out

I am trying to reset the figures display under max members/guests online - and can't figure out where this figure is stored or derived from.

Any thoughts?
Posted By: JustDave Re: Reset Short Stats - 08/20/2003 2:59 PM
Try this query:

UPDATE w3t_IIPcache
SET Ca_ShortStats = ''



I think that will work.
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 08/20/2003 7:41 PM
There are certain open forums that the Current Threads doesn't seem to pick up on, I checked the config and didn't see anything for that, any ideas?
Posted By: Ian_W Re: Reset Short Stats - 08/20/2003 7:59 PM
Thanks - although now it has lost the total number of posts etc. Time to recheck the initial set-up.
Posted By: JustDave Re: Reset Short Stats - 08/20/2003 8:21 PM
Odd.. it should rebuild that in cache if it's empty?
Posted By: Ian_W Re: Reset Short Stats - 08/20/2003 8:41 PM
Nope still showing empty

http://www.nonleague.com

Can't figure out why yet - weird.
Posted By: Pasqualist Re: Integrated Index Page (IIP) 5.3.1 - 09/14/2003 2:31 AM
I have set the width of my forum to 800 pixels and now IIP lools like ****. If I set my forum width to 100%, IIP looks fine. I already tried many width settings in IIP, but so far without succes. What should I do ?
Posted By: msula Re: Integrated Index Page (IIP) 5.3.1 - 09/14/2003 2:35 AM
In general with threads you should always use a dynamic number (%) so that it fits on all resolutions. I haven't tried using set sizes, but I avoid that due to the vast variety of monitor and resolution sizes people use.
Posted By: Pasqualist Re: Integrated Index Page (IIP) 5.3.1 - 09/14/2003 2:52 AM
Hmmmm, but for me that's not a solution. Also I tried setting my widths in IIP like 20%|60%|20%, but this also doesn't work :-(
Anyone else ?
Posted By: AllenAyres Re: Integrated Index Page (IIP) 5.3.1 - 09/14/2003 3:06 AM
What breaks on the 20|60|20? Got a link?
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 09/15/2003 4:46 PM
I got this report from a user on my board:

Here's what I do :
Click on My Home
Click on the Edit button for Display preferences, number of shown threads, languages, colors...
The Sidebar Display option is at the default option of right
I select the drop down box and change the Sidebar Display from the default of right to Off
I then click on the Submit button at the bottom of the page
I get the following error message at the top of my screen

SQL ERROR: Mon, Sep 15 2003 07:24:33 -0700 Database error only visible to forum administrators

Warning: Cannot modify header information - headers already sent by (output started at /home/vhfansco/public_html/boards/mysql.inc.php:217) in /home/vhfansco/public_html/boards/changedisplay.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /home/vhfansco/public_html/boards/mysql.inc.php:217) in /home/vhfansco/public_html/boards/ubbt.inc.php on line 236


I seem to recall this error in a different area but can't remember the fix?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 1:26 AM
It's a non-error:

SQL ERROR: Mon, Sep 15 2003 07:24:33 -0700 Database error only visible to forum administrators

Check your MySQL Error logs for the real error.... that'll help track down what's wrong. Regular users won't see actual errors - they are hidden for security.
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 4:40 PM
Here it is, I remember us dealing with the "Cannot modify header information" and you gave me some code to add, just not sure where.

SQL ERROR: Tue, Sep 16 2003 07:38:55 -0700 Unable to do_query: UPDATE w3t_Users SET U_Sort = '5', U_Display = 'flat', U_View = 'collapsed', U_PostsPer = '20', U_TextCols = '60', U_TextRows = '5', U_StyleSheet = 'alien', U_Preview = 'on', U_PictureView = 'on', U_PicturePosts = 'on', U_Language = 'english', U_FlatPosts = '20', U_TimeOffset = '0', U_FrontPage = 'ubbthreads', U_ActiveThread = '0', U_StartPage = 'cp', U_ShowSigs = 'yes', U_SideBar = '0' U_SideBar = '0' WHERE U_Username = 'ericgtr'
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'U_SideBar = '0' WHERE U_Username = 'ericgtr'' at lin
Warning: Cannot modify header information - headers already sent by (output started at /home/vhfansco/public_html/boards/mysql.inc.php:217) in /home/vhfansco/public_html/boards/changedisplay.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /home/vhfansco/public_html/boards/mysql.inc.php:217) in /home/vhfansco/public_html/boards/ubbt.inc.php on line 236
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 4:47 PM
U_SideBar = '0' [:"red"]U_SideBar = '0'[/] WHERE U_Username = 'ericgtr'

That extra U_SideBar = '0' is causing the MySQL error.
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 4:59 PM
Okay, I can't seem to find where to remove that? I checked in ubbt.inc.php and changedisplay.php
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 5:59 PM
Should be in changedisplay.php
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 6:18 PM
I see now, I had two:
U_SideBar = '$showsidebar_q'
I was searching for U_SideBar = '0' sorry for the confusion, working fine now thanks for the help guys.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 09/16/2003 6:20 PM
No problem. Glad you got it fixed. I've done that same type of mistake many times.
Posted By: cstaber Config Page Defaults? - 09/19/2003 9:53 PM
I noticed everytime I go into the config page, all the options are automatically reset to the default...except for the path info. I can make all the changes I want and they seem to take effect just fine, but if I go back into the config page to change one thing- I have to reset everything as it is all put back to default...maybe I have the permission of a certain file messed up somehow?
Posted By: omegatron Re: Config Page Defaults? - 09/20/2003 12:10 AM
I would check your permissions on the config file. It should store the variables.
Posted By: Trav Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 2:31 AM
I seem to have a problem with the cache working properly. For instance, I have the Random Profile feature set up to update every ten minutes, but every time I click on the "Entrance" link, I see a new profile. The page also seems to take a while to load every time. Any suggestions?

Thanks,
Trav
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 3:03 AM
The partial cache bug fix is described here:
https://www.ubbdev.com/forum/showthreaded.php?Number=76400
https://www.ubbdev.com/forum/showthreaded.php?Number=79006
Posted By: Trav Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 3:46 AM
I tried that, but it didn't do anything for me unfortunately. My problem is not that my IIP isn't updating...it is updating every time it is requested. The cache table has some entries in it, but some of the fields for PAL's I set cache time for are empty. However, the random profile field in the cache table is populated. Unfortunately, it appears that every time it is requested it ignored the cache and does all the queries. A new profile appears every time I visit the IIP page.

It seems that I am having the same problem as a poster a few pages back. My cache table is getting written to, but it doesn't ever seem to read the cache. Instead, it queries the database and updates the cache table upon every request of the IIP.
Posted By: Trav Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 6:42 PM
Does anybody know the solution to my cache problem? My index page does the same amount of queries (30) when I force a cache refresh as it does when I just request the page normally. It is not retrieving data from the cache table at all. It seems to populate and update the cache table, but it never uses the information stored in it.

It is rendering my IIP page VERY slow, to the point that I probably will not be able to use it unless I figure out what the problem is. Any help or suggestions would be GREATLY appreciated, as this is a really cool mod and I would love to be able to use it.

Thanks,
Trav
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 6:48 PM
Is the second link I posted (#79006) relevant here? If you don't have those numbers set properly, the effect is what you're describing.
Posted By: Trav Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 7:54 PM
I was having this problem before I even added the "force refresh" code you pointed me to. My problem was never that the IIP wasn't updating...it was updating every visit to the page.

I did add the code you pointed me to. I have all my PAL cache's set to a minimum of 45 minutes, and I set the force refresh code to 40 minutes (or 2400 seconds using the code snippet you referred me to).

This is frustrating...everything seems to be working fine except for the fact that my cache is being completely ignored.
Posted By: Nettomo Re: Integrated Index Page (IIP) 5.3.1 - 09/24/2003 8:43 PM
Hello ,
why I do not get Flash Clock in "Index Page (IIP) Version 5.3" installed ?

Bitte help

Code
<br /><?<br />// Integrated Index Page (IIP) Version 5.3 (January 11, 2003)<br />//  <br />// Copyright David Lozier 2002-2003. All Rights reserved.<br />// <br />// This software may be used and modified freely providing:<br />// 1. The copyright notice remains intact at the head of all files.<br />// 2. The copyright notice and link to my personal website is<br />//    displayed at the bottom of all pages generated by the software.<br />//<br />// This software may NOT be distributed without expressed written<br />// consent from the author. <br />//<br />// The author accepts no liability for any loss or damages whatsoever <br />// incurred directly or indirectly from the use of this software. <br />// The author of this software makes no claims as to its fitness for <br />// any purpose whatsoever. If you wish to use this software you <br />// should first satisfy yourself that it meets your requirements.<br />//<br />// Email: [email protected]<br />// URL:   http://www.chattersonline.com<br /><br /><br />	echo "$tbopen<tr><td align=\"left\" class=\"tdheader\">"; // Table Start<br />	<br />	echo "Custom Box 6"; // Table Heading<br />	<br />	echo "</td></tr><tr><td align=\"left\" valign=\"top\" class=\"lighttable\">"; // Close Header and Open Content<br /><br />	echo "<br /><center>	<br /><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"150\" height=\"150\"> <br /><param name=movie value=\"Clock.swf\"> <br /><param name=quality value=high> <br /><embed src=\"Clock.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"150\" height=\"150\"> <br /></embed></object></center><br /><br />";<br /><br />	echo "</td></tr>$tbclose<br />"; // Close Content and End Table<br /><br /><br />?>  


Nettomo

Attached File
95578-Clock.zip  (18 downloads)
Posted By: Trav Re: Integrated Index Page (IIP) 5.3.1 - 09/29/2003 5:04 PM
I have managed to work through some of the problems I have been having with IIP, but I am really stumped on something still. I thought I would throw this out here and see if any of you guys may have a clue as to what is going on.

A few of the PAL's are now caching properly. The short stats, Last Seen, Random Profile, Current Threads, and Hot Topic are all functioning perfectly. However, the rest are not caching properly. If I force a cache refresh, sometimes the other fields in the cache table get populated. Sometimes they don't. However, even if they do get populated, they become empty upon the first time the IIP page is loaded up after the forced refresh.

What is really puzzling is that when I examine the variables that hold the cache data that should be getting inserted into the cache table, they always contain data. They are not empty. I output the variables that are used on the update query for the cache table, and they contain the proper data. Yet the fields I mention above are empty after the query runs. I have spent hours on this problem, and I'm about ready to give up. It makes absolutely no sense to me.

Do any of you haxxors know what might be happening? I am a programmer, so I'm not a complete idiot about this stuff or anything...but this one has me stumped.

Thanks in advance for any help.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 10/04/2003 11:48 AM
An updated version to work with UBB.Threads 6.4 has been posted here.
Posted By: Celtic Mad Re: Integrated Index Page (IIP) 5.3.1 - 10/05/2003 6:57 PM
Step 5.

Load the index page into your browser and click on the IIP copyright link at the bottom
of the page to access the configure panel. Follow all steps in the "INITIAL SETUP"
box for new installations and then set the other box values as desired.

I cant find it on my index page!
Posted By: Ian_W Re: Integrated Index Page (IIP) 5.3.1 - 10/05/2003 8:39 PM
Should be just below the copyright info on the index page - you also need to be logged in as an admin.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 10/06/2003 12:27 AM
Post a link and that'll help. If you've removed the infopop copyright.... then it will not appear.
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 10/06/2003 5:55 PM
The SideBarPal thread is locked, so I figured I'd post this here. Beta version for 6.4b1.

Attached File
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 10/08/2003 6:54 PM
Sorry if this has been asked, I couldn't find it in a search. Is there a rotating banner ad (box sized i.e. 80x80) for a pal box? I just want to use it to advertise member sites without charging. TIA.
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 10/08/2003 7:25 PM
I wrote a simple rotating banner script that can be hooked into one of the custom pals. There's no user-interface for adding/changing banners (requires editing a file), and it doesn't do anything fancy like count hits, but I could upload it if there isn't anything better here.
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 10/08/2003 7:55 PM
[]Dave_L said:
I wrote a simple rotating banner script that can be hooked into one of the custom pals. There's no user-interface for adding/changing banners (requires editing a file), and it doesn't do anything fancy like count hits, but I could upload it if there isn't anything better here. [/]

That would be perfect Dave, I just want to slap a few linked images in there that will rotate. No need to count or have any other interaction with it.
Posted By: AKD96 Re: Integrated Index Page (IIP) 5.3.1 - 10/08/2003 8:43 PM
Here is an updated zip file of the sidebarpal. I have included options for Events and Birthdays.

Attached File
96570-IIP SidebarPal 2.0.zip  (27 downloads)
Posted By: Dave_L_dup1 Re: Integrated Index Page (IIP) 5.3.1 - 10/09/2003 1:08 AM
Re: rotating banner pal

I found this hack by Josh already posted: Banner Ad Rotator. Is that adequate?
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3.1 - 10/09/2003 2:46 AM
Sure, that gives me something to work with. Thanks.
Posted By: Robk Re: Integrated Index Page (IIP) 5.3 - 10/17/2003 1:42 AM
Warning: Empty delimiter in /***/**/***********.com/html/cgi-bin/ubbt.inc.php on line 509
We cannot proceed.

The host you are trying to send the input from is not a valid host.

Please use your back button to return to the previous page.


anyone have a clue how i can fix this, this is what i get when i try and post in shoutbox
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3 - 10/17/2003 1:58 AM
That means that you have a firewall on your computer and it's blocking the referrer so that you can't post. You either need to disable the firewall or turn off the refer check in the config file.

Not sure about the other error. Usually an extra blank line in one of the filter files. Would depend on what version you are running. Not really related to this mod though. More of general threads setup.
Posted By: ericgtr Re: Integrated Index Page (IIP) 5.3 - 10/18/2003 5:11 PM
I setup a subdomain and redirect to my site to go to http://downloads.vhfans.com the redirect goes to http://www.vhfans.com/boards/index.php?Cat=&paction=attachments&pbsize=2 however I would like it to go to a specific category but I can't get the URL. When I choose .mp3 and say GO from the drop down menu it only takes me to /boards/index.php. So what I would like if possible is the actual url to this, does anyone know how I can get it? TIA
Posted By: slayer60 Re: Integrated Index Page (IIP) 5.3 - 10/20/2003 11:25 PM
Well, this is the url for your Music Files catagory:
http://www.vhfans.com/boards/ubbthreads.php?Cat=&C=2

But that will only show just that catagory if the user has thier display prefances set to Catagories, as opposed to Forums. If set to foums, it will just take you to the main index page.
Posted By: Topgun Help with 5.3 install :-( - 12/22/2003 4:04 PM
Hi !!
I tried to install iip 5.3 on my 6.3 boards &
I got this error
Warning: fopen("/home/httpd/vhosts/skitime.net/httpdocs/ubbthreads/pals/configpal.php", "w") - Permission denied in /home/httpd/vhosts/skitime.net/httpdocs/ubbthreads/pals/doeditconfigpal.php on line 750

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/skitime.net/httpdocs/ubbthreads/pals/doeditconfigpal.php on line 751

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/skitime.net/httpdocs/ubbthreads/pals/doeditconfigpal.php on line 752

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/skitime.net/httpdocs/ubbthreads/pals/doeditconfigpal.php:750) in /home/httpd/vhosts/skitime.net/httpdocs/ubbthreads/pals/doeditconfigpal.php on line 755

plus Ihave sth strange happenings when typing
http://www.skitime.net/ubbthreads/ubbthreads.php

_lang['ubbthreads'] = "Regarde la liste des forums";
$ubbt_lang['all_admin'] = "Privé";
$ubbt_lang['ONLINE_HEAD'] = "Qui est en ligne";
$ubbt_lang['ONLINE_BODY'] = "Vous avez, ci-dessous, la liste des utilisateurs qui ont été actifs durant les 10 dernières minutes. Les utilisateurs qui ont modifié leur profile pour être invisible n'apparaitront pas dans la liste.";
$ubbt_lang['REGED_USERS'] = "Membres enregistrés";
$ubbt_lang['USER_STATUS'] = "Statut";
$ubbt_lang['USER_TITLE'] = "Titre";
$ubbt_lang['LAST_ACTIVE'] = "Dernière activité";
$ubbt_lang['ONLINE_LOC'] = "Emplacement";
$ubbt_lang['USER_USER'] = "Membre";
$ubbt_lang['ANON_USERS'] = "Utilisateurs Anonymes.";
$ubbt_lang['FROM_IP'] = "De l'IP";
?>

Bienvenue sur nos Forums! SkiTime.net


Admin | Entrance | Index Forums | Recherche | Mon Centre | Qui est en ligne | FAQ | Quitter | Liste d'Utilisateurs | Marquer tous lus




Temps réel!! Sujets messages Dern. msg
En direct!!!
Vous etes en station!! Et c'est Suuuuu..per! soyez pas Ego Istes! Faites en profiter les cops!!
Modérateur: JamesConway 1 4 Re: ouvert ce WE
(JamesConway) - 17:40 15/12/2003


Ski en France Sujets messages Dern. msg
Massif Central
Tous les spots secrets, toutes les stations (Cantal, cevennes, Aubrac,..)du Lioran à Nasbinal en passant par Brameloup!!
Modérateur: JamesConway 1 6 Re: Brameloup: la station ...
(jac) - 18:23 07/12/2003


So could you help me either restore my system or repair

TIA
JConway
Skitime Webmaster
Posted By: Zackary Re: Help with 5.3 install :-( - 12/22/2003 4:55 PM
Well I know that the first problem is with permissions on your Pals directory, when you set up IIP you need to be able to write the configpal file.

The languages showing on the threads page... never seen that one before, I'm sure someone else here can give you an idea on that.
Posted By: Topgun Re: Help with 5.3 install :-( - 12/22/2003 4:59 PM
Thanks zack!
Then I am s..up for 2 weeks!I got my passwd on my virtual hosts in Paris :-(
so you think it 's "not toobad" :-(
I need what 666
Merry Xmas!!
Posted By: JoshPet Re: Help with 5.3 install :-( - 12/22/2003 8:11 PM
The second problem looks like you've corrupted one of your language files. I can't read the language, but maybe the online.php language file got messed up.
Posted By: Anno Re: Help with 5.3 install :-( - 12/22/2003 8:32 PM
The french lanuage file is icluded with
Code
  <br /><PRE>&lt;?<br />?&gt;</PRE><br />

tags for some strange reason....
Posted By: Anno Re: Help with 5.3 install :-( - 12/22/2003 8:33 PM
it should be
include(language_file);
Posted By: JoshPet Re: Help with 5.3 install :-( - 12/22/2003 11:49 PM
I don't follow what you're talking about.

I don't think there is a french translation yet for IIP.
Or is that a .Threads frech bug?
Posted By: Anno Re: Help with 5.3 install :-( - 12/23/2003 3:04 AM
It´s the french language file for UBBThreads, lanugages/french/online.php

The last part of it, seems that the file is broken at $ubbt_lang['ubbthreads'].
Posted By: Topgun Re: Help with 5.3 install :-( - 12/23/2003 9:36 AM
thanks pals!!

Ok for the french bugs!
Anyway gonna eat a french chick for Xmas

Merry Xmas
Posted By: Celtic Mad Re: Integrated Index Page (IIP) 5.3.1 - 12/27/2003 6:21 PM


When I click on the copyright link it takes me to a chat room intigration site. What do I do?
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 12/27/2003 7:21 PM
You are not logged in as a valid administrator.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 12/27/2003 10:28 PM
Or you are and the cookies are not set site wide.

From the FAQ Above.
[]

I click on the Copyright link and I go to ChattersOnline.
First, make sure you are logged in as Admin. Then, in your config file, make sure your cookies are set site wide. The cookie path should be "/".

[/]

Also, I removed your mega wide image as it stretched out the whole thread and caused left/right scroll.
Posted By: Celtic Mad Re: Integrated Index Page (IIP) 5.3.1 - 12/28/2003 12:17 AM
How do I change da width of the portal?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 12/28/2003 6:15 AM
It's based off the width already defined within your threads settings.
Posted By: ST Re: Integrated Index Page (IIP) 5.3.1 - 01/08/2004 7:12 AM
OK I am moving this problem of mine here per Josh.

I have this mod installed(IIP) onto version 6.3 of threads.

Basically this is my problem; when I go to the current threads box and click on the recent post, it does not take me to the precise post number that was the msot recent. It instead takes me to the top of the thread.

Now, when I am i the main index page of my site and I go to the "Last Post" link, it takes me right to the msot recent post number and NOT to the top of the thread.

How can I get the link in "current threads" in the "Entrance Page" refer to the most recent post number? What script do I need ot change and what does it need changed to?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 01/08/2004 7:36 AM
Ah now I understand your question.

That's designed behavior. It's "current threads" not current posts. So it just takes you to the thread.

But the way you describe it working is how it works on IIP.

I imagine if you wanted to have it jump down, you'd have to alter the query to also find out what the last post is by grabbing the B_LastPostNum field from the database and add an anchor tag to the link.
Posted By: ST Re: Integrated Index Page (IIP) 5.3.1 - 01/08/2004 8:17 PM
whew... I thought I was going crazy...

How would I go about making te query? Do you have a suggested mod string that I could add to the current threads script to make it behave the way I want it to?

I would love to have a "Current Posts" page.
Posted By: ST Re: Integrated Index Page (IIP) 5.3.1 - 01/09/2004 7:59 AM
::watches the tumbleweeds::
is what I asked for possible or is it just too much to ask here?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 01/09/2004 8:42 AM
Yes, I told you how above.

[]JoshPet said:
you'd have to alter the query to also find out what the last post is by grabbing the B_LastPostNum field from the database and add an anchor tag to the link. [/]
Posted By: ST Re: Integrated Index Page (IIP) 5.3.1 - 01/09/2004 4:33 PM
hehhehe....
I guess I sound smarter than I am. My fault for not asking directly.

Where would I go or ask to get the syntax for the query to do that? How does one add an anchor tag to te link? In short, how exactly would I do what you told me to do?
Posted By: omegatron Re: Integrated Index Page (IIP) 5.3.1 - 01/09/2004 6:10 PM
Look at the query structure and anchor tag from the YASM 2.0 Mod that should give you a rough search to compare to.
Posted By: fishtails Re: Integrated Index Page (IIP) 5.3.1 - 01/12/2004 10:52 PM
Actually, I had a problem with 5.3.1 but when I began this post I figured I would check it one more time and lo and behold it worked. Has this ever happened to anyone?

About the begining of December, anytime you would go to the home page it would not display. Let me see if I can clear this up. If you typed in the home pahe in the url, or even clicked a link to it from anywhere else, you never would leave the site you were at, but the browser status indicator would indicate that the page DID load and the URL would show in the address bar. I eventually had to stop using IIP and build a new script for my home page. This happened on another site as well, and I did the same thing there. It was as if my site was down, yet if you typed in the url to the forum itself, everything worked fine. Occasionally it would give me a 404 error, but upon investigating the file was intact. Perplexed I am. I had renamed the IIP page to index3.php to figure out what the problem was and it did the same thing.

But.... today I come to give this post and I checked the index3.php and threw me for a loop, it's suddenly working again. (theme from the twilight zone playing) Any ideas on what caused this?
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 01/12/2004 11:33 PM
From what I've seen,
If your news pal is pulling from a forum with lots of posts, and your server times out during the query.... the cached IIP results could be blank (if the cache never gets updated).

So sometimes, on some servers or larger sites, IIP does not work well.

I'd try to reduce options/remove boxes, and have the newspal pull from forums that don't have very many posts. Likewise, take advantage of the other options to gain efficiency. Taking advantage of the caching can help. Stagger their refresh times. But if the query is too intense to update the cache, you won't have a page.
Posted By: slayer60 Re: Integrated Index Page (IIP) 5.3.1 - 05/17/2004 11:33 PM
Hi all youse guys. I'm having an issue with display settings. When I edit my threads theme file and the width to 780, instead of 95%, all of my pals are 780 wide. I have 2 columns, and am using the center and right side. These were set to 65% for the center column, and 35% for the wide right column.(I'm still not sure what the difference between right and wide right is.) I tried setting these to values of 507 for the center 273 for the right column, but it acts like it doesn't pick up these values for some reason. The changes are being saved as I can see them when I go back into the IIP admin panel.
Anyone got any ideas why it would be having as such.

I'm still running 6.3.1.
Posted By: scroungr Re: Integrated Index Page (IIP) 5.3.1 - 05/17/2004 11:38 PM
I would bring up my browser and select all on the page and see what the browser is reporting for the width statements.
Posted By: JoshPet Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2004 6:27 AM
You're using a fixed table width in the threads theme file?
A fixed table width won't work in threads in a variety of places (the MyHome page and the Calendar page in threads are also incompatible with a fixed table width).

If you need a fixed table width - set the theme file to "100%".

Then in your forum's header, open a table with the width you want:

<table width="780"><tr><td>

Then in the footer, close the table:

</td></tr></table>
Posted By: slayer60 Re: Integrated Index Page (IIP) 5.3.1 - 05/18/2004 4:28 PM
Thanks Josh. It worked great.
Posted By: Calpy Re: Integrated Index Page (IIP) 5.3.1 - 08/28/2004 2:14 AM
* Today my IIP stopped working at www.calpernia.com/ubbthreads/index.php , it looks like this sometimes:
[]http://www.calpernia.com/images/graphics/iip531.gif[/]
* And like this sometimes:
[]http://www.calpernia.com/images/graphics/iip531_2.gif[/]
* It's not pulling the newsboxes or any of my custom boxes, and it's not displaying a footer at all. I have to type in the editconfigpal url manually to look at the settings (same as theyve always been)
* I installed IE 6 SP2 yesterday, which probably has something to do with this (Don't bother posting anti-IE rants, I hate it too, but most people use it so I want my board to show up right in it). Also, my new webhost has a lot of permissions issues with various folders, so I tired turning caching off and on, no difference that I can see.
* Any idears out there? =)
© UBB.Developers