Previous Thread
Next Thread
Print Thread
Rating: 5
Page 10 of 11 1 2 8 9 10 11
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
IIP v6.5
========

Well, a bit confused as to why the side bar listed on my Main Index page is not using the correct full link to the links on my Menu Pal.

On the Menu Pal it lists the following links for the users:

Entrance
View Polls
Profile Index
Call Us Home!
Add to Favorites!
Recommend Us!

When a user clicks on any one of these (except Add to Favorites!) the link starts out correct in taking the user to my domain name....but then it cuts out the subdirectory of where my threads is located.

For instance, "View Polls" links out to:
http://www.f-bodyhideout.com/index.php?Cat=0&paction=polls
However, it should be linking out to:
http://www.f-bodyhideout.com/ubbthreads/index.php?Cat=0&paction=polls

Can anyone help me set this correctly?

Thank you,
Gonzo

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay your IIP index is INSIDE your ubbthreads directory?

then you will need to find in menupal.php

if (!(eregi("index.php",$phpSelf))) {
$palurl = "{$config['homeurl']}/index.php";
}
else {
$palurl = $phpSelf;
}


and change it to

if (!(eregi("index.php",$phpSelf))) {
$palurl = "{$config['homeurl']}/ubbthreads/index.php";
}
else {
$palurl = $phpSelf;
}

Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Worked like a charm! Thank you scroungr.

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
For some reason, I cannot get the Events Pal to show up on my index page.

I've reviewed and confirmed all the settings under Event Mgmt, and I've set the Events Pal option, and triple-checked that it's not using the same order number as something else in the same column. I've tried it under all three columns - I'll submit the changes, and then IIP refreshes, and it repeatedly shows the Events Pal as turned off, and it never displays on the index.

This is IIP 6.5 with UBB.Threads 6.5.1.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
sounds like a problem with the eventpal variable in the index file If I get a chance I will check.. in the meantime uyou can change it in the configpal.inc.php

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay found the issue.. download the new zip and just put the editconfigpal.php, doeditconfigpal.php and editconfigpal.tmpl in the pals directory to replace the ones there... had CurrentEvents in too many spots

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
grazi for the bugfixes


- Allen wavey
- What Drives You?
Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
Thanks for the fixes. This one was driving me nuts.

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
I seem to have a problem in that even if I set my current threads to display to say 20, it will only display a max of 5.

Is this right?

Also, it would be great if there was a pal that listed a set of current posts in specific forums, so you had a pal that had say 3 blocks of current threads for 3 specific forums.

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
It seems this information is valid as of when uo activate it.. its growing as more posts are made.. so that would explain that one!

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
cool..

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
Do you think its possible to add the 2nd part of my note? Would be really useful.

i.e

You have 5 forums, and you want to list in a single pal window the latest titles only of the say last 5 posts of each forum, seperated by a line ?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
well seeing as threads is at end of life.. and I don't think I will be messing with this anymore than it has been.. I didn't create it.. I updated it to use with 6.5 so if you would like to commission someone I am sure someone can... but otherwise..

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
Good point.

I had noticed that my pals were not using the spider non friendly files, so I just copied them across, but the currentthreadspal file doesnt appear to be working.. now I just have 5 dots instead of thread titles.. ?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
can your server handle spider friendly? and does the nonspider friendly one work?

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
Sorry I have it the wrong way around.

The spiderfriendly one displayed the information properly but the links didn't work.

Its the unfriendly one that doesnt work. It works for the hot topics and top rated ones ok.. jsut not this one.

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
I have a problem with the top posters.

It is displaying me with 953 posts on the IIP when on threads I have 1039. All boards are unticked so it should be picking up from all of them and cache days is set to 0 to disable.

I have changed to non spider files to fix the click to user profile.


edit, I had to remove the pic as you could not see anything to read.

Last edited by dparvin; 06/01/2005 7:26 AM.
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
whats your U_TotalPosts in your w3t_Users table say?

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
It matches the post count in threads
I am on 2041 in U_Totalposts and on threads, but 955 on IIP. So both are increasing

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
well heres the complete query

$query = "
SELECT COUNT(*) as total,t1.B_PosterId,t2.U_Username
FROM {$config['tbprefix']}Posts AS t1,
{$config['tbprefix']}Users AS t2
WHERE t1.B_PosterId = t2.U_Number
AND t2.U_Number > 1
$dayssearchlimit
$limit
GROUP BY B_PosterId ORDER BY total DESC
LIMIT 0,$topposters
";
$sth = $dbh -> do_query($query,__LINE__,__FILE__);


and looking at that there must be more threads than what your couning.. and there is no way to disbale that per board basis...so am wondering run this query and see what you come up with

SELECT COUNT(*) as total,t1.B_PosterId,t2.U_Username
FROM w3t_Posts AS t1, w3t_Users AS t2
WHERE t1.B_PosterId = t2.U_Number AND t2.U_Number = '<number of the user>'
GROUP BY B_PosterId ORDER BY total DESC

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Thanks scroungr

I will run a backup when I get home and let this one rip

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
I have run that and it came back with no results and the post are not correct still

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
you did change <number of the user> to the user id of that user right?

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
Yep, (2), number 2, me

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
you sure you entered it right? cause I just did it on my board and got total=3268, B_PosterId = 2, U_Username = Couchtomatoe...

barring doing it myself on your site.. I don;t know.. if you want me to check send me a PM with an Admin account for your threads so I can run the query

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
I kept one of the < in still

Anyways, it has said that I have 962 posts the same as on IIP so that means why does my profile in threads say I have 1048 ???

Thanks again for your help scroungr

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
no idea but that query is almost fool proof I said ALMOST..

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
Any update on why I am getting no current threads appearing?

Joined: Aug 2004
Posts: 173
Member
Member
Offline
Joined: Aug 2004
Posts: 173
[]scroungr said:
no idea but that query is almost fool proof I said ALMOST.. [/]


Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
MattUK run this in a sql session and see what you get

SELECT B_Number,B_Posted,B_Last_Post,B_Subject,B_Main,B_Replies,B_Counter,B_Board
FROM w3t_Posts
WHERE B_Number = B_Main
AND B_Approved = 'yes'
ORDER BY B_Posted DESC

Joined: Nov 2001
Posts: 134
Journeyman
Journeyman
Offline
Joined: Nov 2001
Posts: 134
Hi,

This comes back with 43 records..

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
The Upcoming Events PAL box is listing events there one day prior to what they should be. For example, there are two posts entered as Calendar events for June 15th - they show up properly on the calendar - both the PAL Calendar box and the full .threads Calendar, but the Upcoming Events is listing them for the 14th.

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
question: is there a way for the NEWS pal to display the most recent posts, as opposed to the most recent threads?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
anything is possible.. you just need to rewrite the pal.

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
ha! that is not possible

Joined: Jun 2005
Posts: 1
Lurker
Lurker
Offline
Joined: Jun 2005
Posts: 1
I'm currently having this same issue. I keep editing the initial Setup to read Yes, but still see:
Sorry But Front Entrance is currently down for maintenance.

The Yes defaults back to No. I have also tried to set up page Layout and it reverts as well.

editconfigpal.php I set to 666, won't save, tried 777, still no save.

It's a fresh, clean install of threads 6.5 and IIP 6.5

What am I missing?

~C

Joined: Jun 2002
Posts: 160
Member
Member
Offline
Joined: Jun 2002
Posts: 160
[]ZealotOnAStick said:
The Upcoming Events PAL box is listing events there one day prior to what they should be. For example, there are two posts entered as Calendar events for June 15th - they show up properly on the calendar - both the PAL Calendar box and the full .threads Calendar, but the Upcoming Events is listing them for the 14th. [/]

Scroungr - anything on this problem?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
which events are they? are they holidays? public days? private days? entered through a forum post or directly thru the calendar? birthdays? the eventspal was kindof involved so I would need more info.. do a database dive and tell me what the record of one of the misappropiated dates looks like so I have more to go on.

Joined: Mar 2003
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2003
Posts: 118
Thanks...i've been wondering about that EventsPal issue... all fixed now.

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
[]drkknght said:
question: is there a way for the NEWS pal to display the most recent posts in a forum, as opposed to the most recent threads? [/]

ok, i'm tryin here, so go slow with me ...

i'm assuming the information i need to tweak is in here:

Code
// --------------------------<br />// Let's grab the news items <br />// New routines created by JustDave<br />   $Newsboard_q = addslashes($newsboard);<br />   $query = "<br />   SELECT     t1.B_Number,t2.U_Number,t2.U_Username,t1.B_PosterId,t1.B_Posted,t1.B_Last_Post,t1.B_Subject,t1.B_Body,t1.B_Main,t1.B_Replies,t1.B_Icon,t1.B_Counter,t2.U_Picture<br />   FROM {$config['tbprefix']}Posts AS t1,<br />   {$config['tbprefix']}Users AS t2 <br />   WHERE t1.B_Number = t1.B_Main<br />   AND t1.B_PosterId = t2.U_Number<br />   AND t1.B_Board = '$Newsboard_q'<br />   AND t1.B_Approved = 'yes'<br />   ORDER BY t1.B_Posted DESC<br />   LIMIT $totalnews <br />";<br />$sth = $dbh -> do_query($query);<br />


and somehow alter the "ORDER BY t1.B_Posted DESC" line ...?

... i think?

Page 10 of 11 1 2 8 9 10 11

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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

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

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