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?
Split | Merge | Move topics (1 viewing) (1) Guest
Go to bottom Favoured: 13
TOPIC: Split | Merge | Move topics
#40217
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
thinks...

How many button images do I need to create and what do they need to be called in order to be recognised by your code? I'm assuming they need to be the same style shape size etc as the existing "copy and move" buttons which the moderator already uses?

I tried searching through your code for clues but it didn't make much sense (if any) to me. However...
awoolford (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/21 17:15 By awoolford.
 
The administrator has disabled public write access.  
#40219
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
I did find this at the end of the merge function:

Code:



?php
 }
 else {
     echo "Severe database error. Update your database manually so the replies to the topic are matched to the new forum as well";
 //this is severe.. takes a lot of coding to programatically correct it. Won't do that.
 //chances of this happening are very slim. Disclaimer: this is software as-is *lol*;
 //go read the GPL and the header of this file..
 }
        }


Should I be worried about this, and what do I do if it happens?

(aside - tried pasting the above code into the previous message but it wouldn't take it.)
awoolford (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/21 17:19 By awoolford.
 
The administrator has disabled public write access.  
#40229
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
awoolford:

For the Merge function, I took the existing Move function and modded it. The comment you see was in the Move function I copied from. I don't think you need to be worried about that error happening.

cynos:

The button images need to be placed in /components/com_fireboard/template/default/images/english/icons. Then, open /components/com_fireboard/icons.php and add anywhere:

$fbIcons['merge'] = 'merge.gif';
$fbIcons['split'] = 'split.gif'
gomjabbar (User)
Expert Boarder
Posts: 109
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.  
#40252
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
awoolford wrote:
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.


- no more other modification in the files (I use other modifs, but this files are clean)
- For icons I will try to do the job this evening, and if I do it successfull, I will attache the modified file too ...

And thank you again gomjabbar for your work ...
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 20:22 By Cynos.
 
The administrator has disabled public write access.  
#40327
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
so, here it is the modified icons.php

...
File Attachment:
File Name: icons-9f0e6113f7fe211b6826c33ede9dbaed.zip
File Size: 1382
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.  
#40456
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
gomjabbar wrote:
Can anyone report on group implementation in 1.0.4, if any? Do I need to update or check anything else in the database?

- Are you looking a way to manage groups inside joomla ?

- if so, I found two solution to do that, let me know ...


- if I missunderstood (I'm french, english is not so easy for me), I use your code in a fb 1.04 forum, using mods, hacks ... and groups ... everything is ok !

...
Cynos (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/22 21:22 By Cynos.
 
The administrator has disabled public write access.  
#40486
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
Let me clarify. The merge and split functions need to update subscriptions and favorites. If there is some sort of group implementation for individual threads, then that would need to be updated also. Right now, my merge and split code doesn't let you go outside the category or forum, meaning that if you want to merge threads from two different forums, you'll have to first move them into the same one. I'm guessing that group mods work on the category/forum level so that should be fine. However, if the new FB code introduces any thread-level implementations, then we need to make sure that the right tables get updated. That was my question. It was prompted by the fact that I'm using a thread-based group implementation on my site: i. e. every thread has a list of members.
gomjabbar (User)
Expert Boarder
Posts: 109
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.  
#40553
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
Hi Cynos / gomjabbar,

Cynos: Many thanks for attaching the icons.php file.

Gomjabbar: Unfortunately, my brain hurts.

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.

You then specified the "icons.php" file as the place to insert the icon filenames (which Cynos attached).

So is there also a file called "fbconfig" somewhere which needs modifying?

Sorry to ask stupid questions, and many thanks again for your patience and hard work.
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.  
#40593
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
To add the icons, you need to put them in the default/images/icons folder and then edit icons.php in the default folder. You don't need to edit any other files.

$fbIcons['merge'] = 'merge.gif';
$fbIcons['split'] = 'split.gif';

This makes sure that the string $fbIcons['merge'] when called in the code is equal to the file name of the icon, which can be anything. If someone designs icons, I'll add them to the mod to make it easier on people. That's all I can think of to help.
gomjabbar (User)
Expert Boarder
Posts: 109
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.  
#40625
Re:Split | Merge | Move topics 7 Months, 1 Week ago  
Are these any good?

awoolford (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/23 22:58 By awoolford. Reason: wrong image uploaded
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop