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!
Subscribe to forum instead of thread (1 viewing) (1) Guest
Go to bottom Favoured: 13
TOPIC: Subscribe to forum instead of thread
#39189
Re:Subscribe to forum instead of thread 9 Months ago  
i did not include the ALTER TABLE statement for the category in jos_fb_subscriptions because this module is just an extension of the subscribe to category hack..

this module needs the hack to be fully working..

i want the users to follow the instructions of the subscribe to category first because there are files in fb that needs to be edited..

anyway, is this code correct?..

[code:1]CREATE TABLE IF NOT EXISTS `#__fb_autosubscribe` (
`id` int(11) DEFAULT '0' NOT NULL AUTO_INCREMENT ,
`userid` int(11) DEFAULT '0' NOT NULL ,
`subscribe` int(11) DEFAULT '0' NOT NULL ,
PRIMARY KEY (`id`)
);[/code:1]
can anyone test this?..
freakshowtm (User)
FB Quality & Testing Team
I am a LOSER
Senior Boarder
Posts: 139
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nluvandhate Location: Philippines Birthdate: 1983-11-07
Logged Logged
 
..having a Brain doesn\'t mean you know how to use one..
 
The administrator has disabled public write access.  
#39192
Re:Subscribe to forum instead of thread 9 Months ago  
How good are you at producing components?

Never done it - just hacked...

AEC is a component with an automated hacking tool - you go to its hacks page and click "APPLY HACK" and it does the replace. Do you think between us we could come up with a little component to hack FB?

polc1410 (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#39200
Re:Subscribe to forum instead of thread 9 Months ago  
i can't make a component from scratch..

i just hack them..

i just get the ideas from other components, modules and bots..

i made a few hacks for a few components but did not release it..

most of them are integrations to several components..
freakshowtm (User)
FB Quality & Testing Team
I am a LOSER
Senior Boarder
Posts: 139
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nluvandhate Location: Philippines Birthdate: 1983-11-07
Logged Logged
 
..having a Brain doesn\'t mean you know how to use one..
 
The administrator has disabled public write access.  
#39208
Re:Subscribe to forum instead of thread 9 Months ago  
I also have an solution for everyone who needs to subscribe each topic to everyone (except blocked users). It's a hack in the file /components/com_fireboard/template/default/post.php. Remember, this adds subscription for everyone to everything! The user cant't change it!

In Fireboard 1.0.4 edit the file an add this in line 291:

[code:1]
// Start Hack by cyke
$database->setQuery("TRUNCATE TABLE `#__fb_subscriptions`;");
$database->query();
$database->setQuery("INSERT INTO #__fb_subscriptions(thread, userid, future1)"
. "n SELECT #__fb_messages.thread, #__users.id, 0 AS future1"
. "n FROM #__fb_messages, #__users"
. "n WHERE #__users.block = 0"
. "n GROUP BY #__fb_messages.thread, #__users.id;");
$database->query();
// End Hack by cyke
[/code:1]

If you like to, you can comment the lines that try to add new subscriptions (you alredy have [b]all[/b] subscriptions). Search for this comment:
[quote]
//now try adding any new subscriptions if asked for by the poster
[/quote]
cyke (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/15 16:43 By cyke.
 
The administrator has disabled public write access.  
#39303
Re:Subscribe to forum instead of thread 8 Months, 4 Weeks ago  
will that code add a subscription for all users every time it executes?..

or will it add the user only once?..
freakshowtm (User)
FB Quality & Testing Team
I am a LOSER
Senior Boarder
Posts: 139
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nluvandhate Location: Philippines Birthdate: 1983-11-07
Logged Logged
 
..having a Brain doesn\'t mean you know how to use one..
 
The administrator has disabled public write access.  
#39324
Re:Subscribe to forum instead of thread 8 Months, 4 Weeks ago  
every time
cyke (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#39332
Re:Subscribe to forum instead of thread 8 Months, 4 Weeks ago  
ok.. i think this is kind of annoying for the users because if they try to unsubscribe they will be subscribed again when the code executes..

i'd like it to only subscribe the user to all categories once..

this would allow the user to unsubscribe if they don't like to be subscribed..
freakshowtm (User)
FB Quality & Testing Team
I am a LOSER
Senior Boarder
Posts: 139
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nluvandhate Location: Philippines Birthdate: 1983-11-07
Logged Logged
 
..having a Brain doesn\'t mean you know how to use one..
 
The administrator has disabled public write access.  
#39338
Re:Subscribe to forum instead of thread 8 Months, 4 Weeks ago  
yes but it's a different approach. in my case, i hava a forum with a low frequence of posting and visiting. and when everyone has subscribed everything its easier to keep the people informed about ned entries.
cyke (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#39339
Re:Subscribe to forum instead of thread 8 Months, 4 Weeks ago  
yes.. that's a great way to keep your members posted..

and it's also a quick mod to do too..

thanks for sharing..

i'll try to play with your codes..

maybe it will give me new ideas and approach on this subscription thing..
freakshowtm (User)
FB Quality & Testing Team
I am a LOSER
Senior Boarder
Posts: 139
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nluvandhate Location: Philippines Birthdate: 1983-11-07
Logged Logged
 
..having a Brain doesn\'t mean you know how to use one..
 
The administrator has disabled public write access.  
#39359
Re:Subscribe to forum instead of thread 8 Months, 4 Weeks ago  
Is the 'subscribe to forum hack' also available for fireboard 1.0.4?

Regards,
Chris
chris2005 (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top