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!
Split | Merge | Move topics (1 viewing) (1) Guest
Go to bottom Favoured: 13
TOPIC: Split | Merge | Move topics
#39143
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
The answer is yes: the split function allows you to select a single post in the "split" column and turn it into a separate thread. The current version of this mod makes the split-off 'inherit' favorites and subscriptions but I can easily add an option not to inherit, if anyone's interested.

The split function also doubles as a "swap topic" function if you want to promote a post to the topic position in an existing thread--just select one post in the topic column. It makes sense when you see the menu.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/15 05:55 By gomjabbar.
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#39144
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
OO sorry I meant move a single post
blakey87 (User)
Senior Boarder
Posts: 124
graphgraph
User Offline Click here to see the profile of this user
blakey87_1@hotmail.com
Logged Logged
 
 
The administrator has disabled public write access.  
#40009
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
gomjabbar wrote:
I'm completing an upgrade to FB 1.0.4 on my beta site and will report the functioning of the mod on the latest stable version soon. In the meantime, I wonder if I'm not talking to myself here.

Gomjabbar, you're a star! I've just started a new forum and ran accross this issue after the third post which I needed to move into a different category. Of course I couldn't without moving the entire thread.

So glad you've been tackling this issue and thanks for all your hard work which, (I assume), is all voluntary?

Anyway, I'm not a programmer so I can't follow the code you've written, but will try to do a 'cut and paste' job into the specified files as best I can. (I'm assuming I can do this all in notepad and then upload the modified files via FTP after renaming the old ones xxx.old?)

I'll let you know how it all works out.
awoolford (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#40038
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
awoolford:

You can do it in notepad. Just take care not to line-wrap any comment lines that begin with //. I keep telling myself to use /* */ and always forget. Please report your progress here. My upgrade and testing is going really slow (maybe because I'm trying to defend a dissertation).

P. S. And yes the work is voluntary. My remote persuasion powers are not what they used to be so I don't think I can force anyone to pay me.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#40056
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
Instruction Item 5:

5. And last but most important--the actual functions! In post.php, after the lines:


What exactly does this mean? To post at the end of post.php? I have done this but am recieving the following error:
Parse error: syntax error, unexpected '}' in /home/host/public_html/joomla/components/com_fireboard/template/default/post.php on line 3166

which line 3166 for me is the } before domerge:
[code:1]}
else if ($do == "domergepost")
{
if (!$is_moderator) {[/code:1]
TyePenne (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/20 20:59 By TyePenne.
 
The administrator has disabled public write access.  
#40066
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
same problem for me.
I don't understand where to put the code ...

... may be you could upload every modified files, it will be more simple.

thanks.
Cynos (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#40067
Re:Split | Merge | Move topics 10 Months, 1 Week ago  
It means, paste the functions after the lines specified in the guide.

after the lines: _______________

paste: __________________

The functions need to be added to the main, very long if clause in post.php. It begins with "if ($do," then a lot of else if, else if, etc. The functions can be pasted at any point between a "}" and the next "else if." Hope this makes sense.

I can't post the modified files because, as I explained, I'm not running the latest version of FB and my site has multiple other mods. Just read the directions carefully. The structure of every step is:

1. I describe what the step does.
2. I specify which lines to look for in which file.
3. I specify the code to paste *after* the lines.

As soon as someone completes the mod on a recent version of FB and confirms that it works fine, we can ask them to post the files.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/20 22:18 By gomjabbar.
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#40093
Re:Split | Merge | Move topics 10 Months ago  
Thanks for reply gomjabbar, and thanks for your great job.
I made this work, I found where to paste the code before you answered.

I use your code in a fb 1.04 instalation, on a french forum, and it works fine ... great job ... bravo pour tout ce travail !!!

so, I attache the modified files for fb 1.04 in a zip folder.
hope it will help.

merci !
File Attachment:
File Name: merge_and_split.zip
File Size: 58141




I have one more question, what do I need to do to have some icons for the new merge and split fonctions ?
Cynos (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/21 01:12 By Cynos.
 
The administrator has disabled public write access.  
#40098
Re:Split | Merge | Move topics 10 Months ago  
Cynos:

Good news and thanks for the modded files--that should help others who are modding a vanilla FB.

For icons: you're gonna have to design icons, place them in your template's images/icons folder and specify the filenames in fbconfig. I use buttons on my site so I don't have any designed.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#40212
Re:Split | Merge | Move topics 10 Months ago  
Cynos wrote:
so, I attache the modified files for fb 1.04 in a zip folder.
hope it will help.


Well done Cynos, that's very useful. Are these files unmodified other than for gomjabbar's code?

gomjabbar wrote:
For icons: you're gonna have to design icons, place them in your template's images/icons folder and specify the filenames in fbconfig.

I'm not a programmer, so can you indicate how this is actually done in fbconfig please? I can manage the button images. Thanks again for all your help.
awoolford (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top