Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

PHP-Fusion Dynamics - 9

Questions related to PHP-Fusion 9´s Dynamics API
26 posts | Last Activity on 12-09-2016 01:45 by Chan
Chan
Chan 12-09-2016 01:45, 3 years ago
Re: forum Mood multilocale Ok, do what you think best. I'm going to spend today fixing upgrade experience on a possibly new installer for the RC5. I'm going to tear it down and reuse the codes that is needed.
karrak
karrak 11-09-2016 13:11, 3 years ago
Re: forum Mood multilocale the problem was that only one field value is saved in each of the two restored (This has been corrected)
and I think it could adopt an array of data.
Chan
Chan 11-09-2016 08:41, 3 years ago
Re: forum Mood multilocale The issue was the post will show text - "{user_name} "{text_input_mood} this post";

How do you resolve if not multilocale fields.

Is that error?
karrak
karrak 11-09-2016 05:16, 3 years ago
Re: forum Mood multilocale Unfortunately it went in several languages, but only one was given any.
eng What
hu ki
eng What hu What save serialize
C
Catzenjaeger 23-08-2016 09:19, 3 years ago
Re: Bootstrap Grid - merge lines Thanx -- works perfect
C
Catzenjaeger 17-08-2016 08:59, 3 years ago
Re: Bootstrap - input-group-addon i learn bootstrap atm and found some things what really nice looks. One is a group addon for input fields
how can i change this:

Code
echo form_text("figure_usedprice", $locale['figure_456'], $submitdata['figure_usedprice'],
         array(
            "inline" => TRUE,
            "width" => "400px",
            "error_text" => $locale['figure_1815'],
            "min" => "0",
            "placeholder" => $locale['figure_1808'],
            "type" => "number"
         )
      );


to this:
Code

 

   
   

     
€

     
     
,00

   

 

 



result: www.php-fusion.co.uk/infusions/forum/attachments/unbenannt_10.jpg

i want this € and , 00 on begin and end -- looks nice and is unfriendly
Chan
Chan 16-08-2016 15:46, 3 years ago
Re: Bootstrap Grid - merge lines From your image
Code



IMAGE





First Col/div>
Second Col/div>




First Col/div>
Second Col/div>




First Col/div>
Second Col/div>







You nest it.
C
Catzenjaeger 16-08-2016 09:38, 3 years ago
Re: Bootstrap Grid - merge lines i have change all my tables to the new bootstrap gird system but one question

how i can merge lines. I know how i can merge columns but dont know about merge lines.
I have a Image what i want to show in the first column but i have to merge the first collums to 5 or 6 lines --- but how?
right of the picture i want to show some more lines with text.
I have make it and it works but i guess its not the best version .... can anyone say me what the right command to merge is?

here a image what i want:
www.php-fusion.co.uk/infusions/forum/attachments/erwrw.png

my code works but i have it makes so

line 1
4-4-4
line 2
6-6
line 3
6-6
line5
6-6

Code
echo "
\n";
         echo "
\n";
         
         
            
// ZEILE 1
   // ..................... BILD         
            echo "
\n";
                              $result2 = dbquery("SELECT   
                                 figure_images_image_id,    
                                 figure_images_figure_id,    
                                 figure_images_image,    
                                 figure_images_thumb    
                              FROM ".DB_FIGURE_IMAGES."
                              WHERE figure_images_figure_id='".$data['figure_id']."'
                              LIMIT 0,1");
               
                        if(dbrows($result2)){                  
                           while($data2 = dbarray($result2)){                  
                              echo "
".trimlink($data[";                  
                           }                              
                        } else {                            
                              echo "
".trimlink($data[";
                              }
            echo "
\n";
   // ..................... VARIANT            
            echo "
\n";
               if ($data['figure']['variant']) {
                     echo "Variant: ".trimlink($data['figure']['variant'],10)."\n";
               } else {
                     echo "Variant: ... missing data ...";
                  }
            echo "
\n";

   // ..................... SUBMITTER               
            echo "
\n";
               echo "Submitted by: ".profile_link($data['figure']['userid'], $data['figure']['username'], $data['figure']['userstatus'])."
\n";
            echo "
\n";
            
// ZEILE 2            
   // ..................... MANUFACTURER                        
            echo "
\n";
               echo "Manufacturer: ".trimlink($data['figure']['manufacturer'],10)."
\n";
            echo "
\n";

   // ..................... SUBMITTED ON            
            echo "
\n";
               //echo "Submitted on: ".timer($data['figure_datestamp'])." - ".showdate("shortdate", $data['figure_datestamp'])."\n";
               echo "Submitted on: ".showdate("shortdate", $data['figure_datestamp'])."\n";
            echo "
\n";
// ZEILE 3            
   // ..................... BRAND            
            echo "
\n";
               echo "Brand: ".trimlink($data['figure']['brand'],10)."\n";
            echo "
\n";

   // ..................... VIEWS            
            echo "
\n";
               echo "Views: ".$data['figure']['views']."\n";
            echo "
\n";            
            
// ZEILE 4            
   // ..................... SCALE            
            echo "
\n";
               echo "Scale: ".$data['figure']['scale']."\n";
            echo "
\n";

   // ..................... USER COUNT               
            echo "
\n";
               $count = dbcount("(figure_userfigures_id)", DB_FIGURE_USERFIGURES, "figure_userfigures_figure_id='".$data['figure_id']."'");   
               echo "User Count: ".$count."\n";
            echo "
\n";            
// ZEILE 5            
   // ..................... RELEASE DATE         
            echo "
\n";
               echo "Release: ".$data['figure']['year']."\n";
            echo "
\n";

   // ..................... COMMENT COUNT               
            echo "
\n";
               $comments = dbcount("(comment_id)", DB_COMMENTS, "comment_type='FI' AND comment_item_id='".$data['figure_id']."'");
               echo "Comments: ".$comments."
\n";
            echo "
\n";                        
// ZEILE 6            
   // ..................... SERIES         
            echo "
\n";
               if ($data['figure']['series']) {
                  echo "Series: ".trimlink($data['figure']['series'],10)."\n";
               } else {
                  echo "Series: ... missing data ...";
               }
            echo "
\n";

   // ..................... RATING               
            echo "
\n";
               $drating = dbarray(dbquery("
                SELECT
                  SUM(rating_vote) sum_rating,
                     COUNT(rating_item_id) count_votes
                     FROM ".DB_RATINGS."
                     WHERE rating_type='FI'
                     AND  rating_item_id='".$data['figure_id']."'
                  "));
               $rating = ($drating['count_votes'] > 0 ? str_repeat("",ceil($drating['sum_rating']/$drating['count_votes'])) : "-");
               echo "Rating: ".$rating."\n";
            echo "
\n";            
   // ...........................................                  
            
            
            echo "
\n";
            echo "
\n";

Chan
Chan 14-08-2016 05:05, 3 years ago
Re: Bootstrap - empty columns problem Try an inner div with display-block class in your value column.
C
Catzenjaeger 13-08-2016 20:27, 3 years ago
Re: Bootstrap - empty columns problem for the moment i have add on all fileds add a space ( ) this works .. but is this the right solution?
C
Catzenjaeger 13-08-2016 20:07, 3 years ago
Re: Bootstrap - empty columns problem i show my figures with this code in bootstrap

Code
                               echo "
\n";
            echo "
\n";
            echo "
\n";   
echo "
\n";
                     echo "
\n";                           
                  
                  // VARIANT DATA
                  echo "
\n";
                        echo "".$data['figure_variant']."\n";      
                  echo "
\n";
         echo "
\n";
         echo "
\n";
         echo "
\n";



but if the column remains empty because the user has not entered text in the form, this line does not break
here 2 pics what you show my prob
what can i do that it looks always correctly?
www.php-fusion.co.uk/infusions/forum/attachments/ashampoo_snap_20160813_22h08m23s_006_.jpg
www.php-fusion.co.uk/infusions/forum/attachments/ashampoo_snap_20160813_22h09m44s_007_.jpg
C
Catzenjaeger 13-08-2016 10:01, 3 years ago
Re: Line breacks (solved) Yup it works thanx for help and answer ... Problem is solve for the moment.
Falk
Falk 12-08-2016 09:19, 3 years ago
Re: Line breacks (solved) If it works, it is OK wink
C
Catzenjaeger 12-08-2016 09:18, 3 years ago
Re: Line breacks (solved) thanx for your response. I have make it so for the moment and it works too but i dont know ... is this ok so?
Code

      // Accessories    
         echo "\n";          
               echo "
".$locale['figure_457'].":
\n";               
               echo "".($data['figure_accessories'] ? $data['figure_accessories'] : "-")."\n";                  
         echo "\n";
         
      // Discreption
         echo "\n";            
               echo "
".$locale['figure_423'].":
\n";
               echo "".nl2br(parseubb(parsesmileys($data['figure_description'])))."";      
         echo "\n";

Falk
Falk 12-08-2016 09:06, 3 years ago
Re: Line breacks (solved) that long words rarely exist in the first place ;)
If you for some reason have it, use a css to control it with
Code
  word-wrap: break-word;


something like
Code


or make a class.
C
Catzenjaeger 11-08-2016 17:47, 3 years ago
Re: Line breacks (solved) i have some fields where i show data from a database
but when i input some texts without breaks it destroy my layout massively

what can i do? or is this a bug?
i have RC4

my code
Code
// Accessories 
         echo "\n";          
               echo "
".$locale['figure_457'].":
\n";
               echo "".($data['figure_accessories'] ? $data['figure_accessories'] : "-")."\n";   
         echo "\n";
         
         // Discreption
         echo "\n";            
               echo "
".$locale['figure_423'].":
\n";
               echo "".nl2br(parseubb(parsesmileys($data['figure_description'])))."";      
            echo "";   
         echo "\n";   



www.php-fusion.co.uk/infusions/forum/attachments/ashampoo_snap_20160811_19h50m03s_002_.jpg
C
Catzenjaeger 25-06-2016 11:23, 3 years ago
Re: form_select let's layout explode im using this in version 9 and it works

Example

Code
      echo form_select_tree("figure_manufacturer", $locale['figure_417'], $criteriaArray['figure_manufacturer'], 
         array(
            "inline" => TRUE,
            "required" => TRUE,
            "width" => "400px",
            "placeholder" => $locale['figurelib-placeholder-102'],
            "error_text" => $locale['figurelib-error-102'],
            "no_root" => 1,
            "query" => (multilang_table("FI") ? "WHERE figure_manufacturer_language='".LANGUAGE."'" : ""),
            "maxselect" => 1,
            "allowclear" => TRUE,
         ),

Falk
Falk 06-06-2016 06:35, 3 years ago
Re: form_select let's layout explode well it should poof when inline false is used?
if the goal is to make the area smaller you can wrap it in a fixed div with widths specified or ju can try to fall back to smaller amount of PX instead of % based.
M
mawe4585 05-06-2016 11:00, 3 years ago
Re: form_select let's layout explode still doesn't work sad
is this display:inline-block really just there because of ie7?
what browsers does php-fusion 9 support? why still ie7?
Falk
Falk 05-06-2016 09:59, 3 years ago
Re: form_select let's layout explode Try adding inline false to options array.
Code
"inline" => FALSE

You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.