Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:Completed: Private/Restricted Forums (Native) (1 viewing) (1) Guest
Go to bottom Favoured: 27
TOPIC: Re:Completed: Private/Restricted Forums (Native)
#38021
Re:Private Forums: I am writing native support. 10 Months, 2 Weeks ago  
I'm getting this error when choosing to Restrict Forums->Edit

DB function failed with error number 1064
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 '' at line 4 SQL=SELECT a.*, b.name as uname FROM jos_fb_private_users a Join jos_users b on b.id = a.user_id where forum_id=
cstory (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Pennsylvania
Logged Logged
 
The administrator has disabled public write access.  
#38022
Re:Completed: Private/Restricted Forums (Native) 10 Months, 2 Weeks ago  
Looks like it isn't parsing your forum_id variable. I have a bit of work to do, but if I get stuck on another call I will quickly look at it. But sit tight I will get you the fix shortly
Dannymh (User)
Junior Boarder
Posts: 74
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38023
Re:Private Forums: I am writing native support. 10 Months, 2 Weeks ago  
Oh one thing, just on case I havent written that part of the script correctly. Rather than press the "Edit" button just click on the hyperlink of the forum. I think I know what the issue is but until I fix it just using the hyperlink will fix this for you
Dannymh (User)
Junior Boarder
Posts: 74
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38024
Re:Private Forums: I am writing native support. 10 Months, 2 Weeks ago  
I'm going to work through it. I will let you know what I find.
cstory (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Pennsylvania
Logged Logged
 
The administrator has disabled public write access.  
#38025
Re:Private Forums: I am writing native support. 10 Months, 2 Weeks ago  
I am 99.99% sure that I forgot to actually hook the "edit" button up to the correct function and instead simply just wrote the script for the hyperlink. It shouldn't be a big change to fix, I jsut need to do some of my daily work before I do.

It's all about the learning curve of methodology from e107 to joomla you see
Dannymh (User)
Junior Boarder
Posts: 74
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38028
Re:Private Forums: I am writing native support. 10 Months, 2 Weeks ago  
Here's a couple of minor things.

admin.fireboard.html.php
components/com_fireboard/upArrow.png

sb
components/com_fireboard/images/upArrow.png


images
upArrows.png

sb
upArrow.png


When I go to type a name, I get a couple js errors involving the includes in rpc.php
I think it may have to do with my globals.php file... I don't have one.

going to bed... 1am here
cstory (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Pennsylvania
Logged Logged
 
Last Edit: 2008/01/09 10:12 By cstory.
 
The administrator has disabled public write access.  
#38029
Re:Completed: Private/Restricted Forums (Native) 10 Months, 2 Weeks ago  
You don't have a global? are you using joomla 1.5 or something?

This is specifcially aimed at Joomla 1.x

Hmm the rpc file wasn;t working on my local copy but was on my server. Will retest.

Also the code was not included in your post above.
Dan
Dannymh (User)
Junior Boarder
Posts: 74
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38030
Re:Completed: Private/Restricted Forums (Native) 10 Months, 2 Weeks ago  
Yes, I am using 1.5

I edited my post above. Sorry about that, the code tags dropped my code probably because it was html.

I was in the process of setting up 1.5 and FB 1.0.4 and saw the post about private forums and just moved ahead thinking that it was for 1.5 also.

My bad...

Going to bed and will think on this tomorrow.
cstory (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Pennsylvania
Logged Logged
 
The administrator has disabled public write access.  
#38031
Re:Completed: Private/Restricted Forums (Native) 10 Months, 2 Weeks ago  
It shouldn't be hard to adapt to 1.5 just need to find a way to get the rpc.php file to get the global configs.

The easy alternative would be to use a method other than the AJAX calls, but I couldn't think of any clean method to do this
Dannymh (User)
Junior Boarder
Posts: 74
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38036
Re:Completed: Private/Restricted Forums (Native) 10 Months, 2 Weeks ago  
To fix rpc.php for 1.5 support, one would have to do is check what rpc.php needs from the 1.0x globals.php code and inject the code into rpc.php?

Can someone attach a 1.0x globals.php file for reference?
confucion (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top