Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] WPEmbeds causes with certain code being posted

13 Posts
4 Users
2 Reactions
5,331 Views
Razmik
Posts: 77
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@blackraz)
Famed Member
Joined: 11 years ago

You need to access your database, locate the 'wp_wpforo_posts' table, open it, find the row with the problematic post, edit the row, locate the 'body' field, copy the content, create a new .txt file, paste the text into the new file, and attach this .txt file here.


Marco Rosini
Posts: 24
Customer
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@marco-rosini)
Member
Joined: 4 years ago

I would like to say that I have the same problem. I noticed that it starts if the code is longer than a certain amount.


Marco Rosini
Posts: 24
Customer
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@marco-rosini)
Member
Joined: 4 years ago

If I may b**t in on the conversation, I take this opportunity to attach my file, hoping I have understood the instructions well.


Marco Rosini
Posts: 24
Customer
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@marco-rosini)
Member
Joined: 4 years ago

Hi everyone, I continued to experiment and I noticed that by removing a part of the code from the post it becomes visible.

The source code of the entire post is this:

<figure contenteditable="false" data-attachids="76">
<div class="wpfa-item wpfa-img"><a title="icone personalizzate profilo user" href="https://mrlab.altervista.org/wp-content/uploads/wpforo/attachments/1/76-icone-personalizzate-profilo-user.png" data-gallery="#wpf-content-blueimp-gallery"><img style="max-width: 150px; max-height: 150px;" title="icone personalizzate profilo user" src="https://mrlab.altervista.org/wp-content/uploads/wpforo/attachments/1/thumbnail/76-icone-personalizzate-profilo-user.png" alt="icone personalizzate profilo user" /></a></div>
</figure>
<p><span>Di seguito le istruzioni per aggiungere l'avatar all'ultimo utente iscritto nel footer del forum.</span></p>
<p><span>apriamo ed eseguiamo le seguenti modifiche sul file <strong>/wp-content/plugins/wpforo/themes/2022/profile-home.php</strong></span></p>
<p>Trova</p>
<pre contenteditable="false">&lt;?php if( WPF()-&gt;usergroup-&gt;can( 'vmr' ) ): ?&gt;
         &lt;div class="wpf-profile-section wpf-section-stat"&gt;
... ALTRO CODICE...
&lt;/div&gt;                    &lt;div class="wpf-statbox-data"&gt;                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'points' ), true ) ?&gt;&lt;/div&gt;                        &lt;div class="wpf-statbox-title"&gt;Punti Reputazione&lt;/div&gt;                    &lt;/div&gt;                &lt;/div&gt; 
            &lt;/div&gt;
        &lt;/div&gt; 
    &lt;?php endif; ?&gt;</pre>
<p>Sostituisci con:</p>
<pre class="language-php"><code>&lt;?php if( WPF()-&gt;usergroup-&gt;can( 'vmr' ) ): ?&gt;
         &lt;div class="wpf-profile-section wpf-section-stat"&gt;
            &lt;div class="wpf-stat-wrap"&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #dff6ff; fill: #5bb9dc;"&gt;
                    &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Ballpoint pen&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path data-name="layer1"
  d="M44.8 26.9l14.8-14.8a5.5 5.5 0 0 0-7.8-7.8L37 19.1" fill="#7b8baf"&gt;&lt;/path&gt;
  &lt;path data-name="layer2" fill="#536897" d="M2.7 61.3l12.5-4.8-7.8-7.8-4.7 12.6z"&gt;&lt;/path&gt;
  &lt;path data-name="layer1" fill="#7b8baf" d="M15.2 56.5l29.6-29.6-7.8-7.8L7.4 48.7"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" d="M44.9 27l14.8-14.8a5.5 5.5 0 0 0 0-7.8L41 23.1z"
  fill="#000028" opacity=".25"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" fill="#000028" opacity=".25" d="M15.3 56.6L44.9 27 41 23.1 11.4 52.7l3.9 3.9z"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" d="M26.3 18.6L40.5 4.4a5.4 5.4 0 0 1 7.6 0l1.8 1.8"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" d="M44.8 26.9l14.8-14.8a5.5 5.5 0 0 0-7.8-7.8L37 19.1M2.7 61.3l12.5-4.8-7.8-7.8-4.7 12.6z"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-linejoin="round" stroke-width="2" d="M15.2 56.5l29.6-29.6-7.8-7.8L7.4 48.7"&gt;&lt;/path&gt;
&lt;/svg&gt;
                        
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'posts' ), true ) ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Forum Posts' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #ffe4e1; fill: #cb8c84;"&gt;
                       &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Reset Window&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path data-name="layer2"
  fill="#bacae9" d="M20 8v18h24v14h18V8H20z"&gt;&lt;/path&gt;
  &lt;path data-name="layer1" fill="#dde5f4" d="M20 26H2v32h42V26H20z"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-linejoin="round" stroke-width="2" d="M2 26h42v32H2z"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-linejoin="round" stroke-width="2" d="M20 26V8h42v32H44"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php echo $stat_topics ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Topics' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #f6e1ff; fill: #cd8aef;"&gt;
                        &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Compass Direction&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;circle data-name="layer2"
  cx="32" cy="32" r="30" fill="#fff"&gt;&lt;/circle&gt;
  &lt;path data-name="layer1" fill="#f26161" d="M18 46l7-21 21-7-7 21-21 7z"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" fill="#000032" opacity=".2" d="M23.9 28.4L22 29l-7 21 21-7 1.1-3.4L18 46l5.9-17.6z"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" fill="#000032" opacity=".2" d="M25 25l-7 21 21-7-14-14z"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-linejoin="round" stroke-width="2" d="M18 46l7-21 21-7-7 21-21 7zm7-21l14 14"&gt;&lt;/path&gt;
  &lt;circle data-name="stroke" cx="32" cy="32" r="30" fill="none" stroke="#2e4369"
  stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;/circle&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'questions' ), true ) ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Questions' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #e4ffca; fill:  #97d060;"&gt;
                        &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Check Validate Circle&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;circle data-name="layer1"
  cx="32" cy="32" r="30" fill="#5ade9c"&gt;&lt;/circle&gt;
  &lt;path data-name="opacity" d="M36 58A30 30 0 0 1 12.882 8.881 30 30 0 1 0 55.118 51.12 29.882 29.882 0 0 1 36 58z"
  fill="#000028" opacity=".15"&gt;&lt;/path&gt;
  &lt;circle data-name="stroke" cx="32" cy="32" r="30" transform="rotate(-45 32 32)"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/circle&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-linejoin="round" stroke-width="2" d="M20.998 32.015l8.992 8.992 16.011-16.011"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'answers' ), true ) ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Answers' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #f8edad; fill:  #e8aa1d;"&gt;
                        &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;User Details&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path data-name="layer1"
  d="M40.6 49.2C32.5 47.6 32 45.6 32 44v-2a14.1 14.1 0 0 0 4-7c2.5 0 4-3 4-6 0-.8 0-4-2-4 5-14.5-9.6-20-20-13-4.4 0-5.6 6.6-4 13-2 0-2 3.2-2 4 0 3 1.5 6 4 6a14.2 14.2 0 0 0 4 7v2c0 1.6-.5 3.6-8.6 5.2S2 58 2 58h48s0-6.9-9.4-8.8z"
  fill="#a5d0ec"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" d="M20 35c.8 3 4.1 5.3 6 7v2c0 1.6-.5 3.6-8.6 5.2S8 58 8 58H2s0-7 9.4-8.8S20 45.6 20 44v-2a13.6 13.6 0 0 1-4-7c-2.5 0-4-3-4-6 0-.8 0-4 2-4-1.6-6.4-.4-13 4-13a16.7 16.7 0 0 1 12.5-2.7A17.8 17.8 0 0 0 24 12c-4.4 0-7.6 6.6-6 13 0 0-1 8 2 10z"
  fill="#000064" opacity=".15"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" d="M40.6 49.2C32.5 47.6 32 45.6 32 44v-2a14.1 14.1 0 0 0 4-7c2.5 0 4-3 4-6 0-.8 0-4-2-4 5-14.5-9.6-20-20-13-4.4 0-5.6 6.6-4 13-2 0-2 3.2-2 4 0 3 1.5 6 4 6a14.2 14.2 0 0 0 4 7v2c0 1.6-.5 3.6-8.6 5.2S2 58 2 58h48s0-6.9-9.4-8.8zM46 22h16m-16-8h16M42 6h20"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'comments' ), true ) ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Question Comments' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #e0eaff; fill:  #567dbe;"&gt;
                        &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Like&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;circle data-name="layer2"
  cx="46" cy="44" r="16" fill="#78d1f4"&gt;&lt;/circle&gt;
  &lt;path data-name="opacity" d="M49 58a16 16 0 0 1-10.3-28.2 16 16 0 1 0 17.6 26.4A15.9 15.9 0 0 1 49 58z"
  fill="#000064" opacity=".15"&gt;&lt;/path&gt;
  &lt;path data-name="layer1" d="M46 28a15.9 15.9 0 0 1 8.4 2.4A25.4 25.4 0 0 0 58 17.9 13.9 13.9 0 0 0 44 4c-6.1 0-12 3.9-14 9.3C28 7.9 22.1 4 16 4A13.9 13.9 0 0 0 2 17.9C2 29.9 12.3 42 30 54l2.4-1.6A16 16 0 0 1 46 28z"
  fill="#f27e7c"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" d="M25 47C3 27.9 8.4 5.2 16.8 4H16A13.9 13.9 0 0 0 2 17.9C2 29.9 12.3 42 30 54l2.4-1.6a15.9 15.9 0 0 1 3.8-21C30 32.9 25 37.9 25 47z"
  fill="#000064" opacity=".15"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" d="M54.4 30.4A25.4 25.4 0 0 0 58 17.9 13.9 13.9 0 0 0 44 4c-6.1 0-12 3.9-14 9.3C28 7.9 22.1 4 16 4A13.9 13.9 0 0 0 2 17.9C2 29.9 12.3 42 30 54l2.4-1.6"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/path&gt;
  &lt;circle data-name="stroke" cx="46" cy="44" r="16" fill="none" stroke="#2e4369"
  stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;/circle&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-linejoin="round" stroke-width="2" d="M46 36v16m-8-8h16"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( WPF()-&gt;current_object['user']['reactions_out']['__ALL__'], true ); ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Liked' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #c4f0f3; fill:  #38a9c4;"&gt;
                        &lt;svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Like&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path fill="#e8d4d4"
  d="M53 33h2a4 4 0 0 0 0-8H33a81.014 81.014 0 0 0 2-18 4 4 0 1 0-8 0S23 29 9 29H3v24h10c4 0 12 4 16 4h20a4 4 0 0 0 0-8h2a4 4 0 0 0 0-8h2a4 4 0 0 0 0-8"
  data-name="layer1"&gt;&lt;/path&gt;
  &lt;path opacity=".1" data-name="opacity" fill="#000064" d="M31.77 3.077A3.987 3.987 0 0 0 27 7s-1.546 8.492-6.075 14.924c7.058-4.58 10.051-15.406 10.845-18.847zM34 52c-4 0-12-4-16-4H8V29H3v24h10c4 0 12 4 16 4h20a4 4 0 0 0 4-4c0-.347-.058-1-.142-1z"&gt;&lt;/path&gt;
  &lt;path stroke-width="2" stroke-linejoin="round" stroke-linecap="round"
  stroke="#2e4369" fill="none" d="M53 33h2a4 4 0 0 0 0-8H33a81.014 81.014 0 0 0 2-18 4 4 0 1 0-8 0S23 29 9 29H3v24h10c4 0 12 4 16 4h20a4 4 0 0 0 0-8h2a4 4 0 0 0 0-8h2a4 4 0 0 0 0-8"
  data-name="stroke"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user']['reactions_in'], 'up' ), true ); ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Received Likes' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #ffece8; fill:  #f85151;"&gt;
                        &lt;svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Unlike&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path fill="#e8d4d4"
  d="M9 29H7a4 4 0 0 0 0 8h22a81.014 81.014 0 0 0-2 18 4 4 0 0 0 8 0s4-22 18-22h6V9H49c-4 0-12-4-16-4H13a4 4 0 0 0 0 8h-2a4 4 0 1 0 0 8H9a4 4 0 0 0 0 8"
  data-name="layer1"&gt;&lt;/path&gt;
  &lt;path opacity=".1" fill="#000064" d="M31 51a81.013 81.013 0 0 1 2-18H11a4 4 0 0 1-4-4 4 4 0 0 0 0 8h22a81.01 81.01 0 0 0-2 18 4 4 0 0 0 8 0 4 4 0 0 1-4-4zm14.53-15.542A12.594 12.594 0 0 1 53 33h6v-4h-2c-5.016 0-8.744 2.831-11.47 6.458z"
  data-name="opacity"&gt;&lt;/path&gt;
  &lt;path stroke-width="2" stroke-linejoin="round" stroke-linecap="round"
  stroke="#2e4369" fill="none" d="M9 29H7a4 4 0 1 0 0 8h22a81.008 81.008 0 0 0-2 18 4 4 0 0 0 8 0s4-22 18-22h6V9H49c-4 0-12-4-16-4H13a4 4 0 0 0 0 8h-2a4 4 0 0 0 0 8H9a4 4 0 0 0 0 8"
  data-name="stroke"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval(WPF()-&gt;current_object['user']['reactions_in'], 'down' ), true ); ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Received Dislikes' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #dffde8; fill:  #78cb90;"&gt;
                        &lt;svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Stars&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path d="M14 48.136L5.965 54l3.094-9.453L1 39h9.945L14 29.273 17.055 39H27l-8.059 5.547L22.035 54 14 48.136zm34.004 0L39.969 54l3.094-9.453L35.004 39h9.945l3.055-9.727L51.059 39h9.945l-8.059 5.547L56.039 54l-8.035-5.864zM31 22.864l-8.035 5.865 3.094-9.454L18 13h9.945L31 4.001 34.053 13H44l-8.06 6.275 3.093 9.454L31 22.864z"
  fill="#fc6" data-name="layer1"&gt;&lt;/path&gt;
  &lt;path opacity=".3" data-name="opacity" d="M36.316 20.425l-2.376 1.85 1.175 3.593 3.918 2.861-2.717-8.304zM32.053 16h8.093L44 13h-9.947L31 4.001l-1.509 4.446L32.053 16zm11.839 23h-8.888l4.358 3h3.587l.943-3zm5.167 3h7.587l4.358-3h-9.945l-3.055-9.727-1.471 4.684L49.059 42zM8.945 42l.943-3H1l4.358 3h3.587zM14 29.273l-1.471 4.684L15.055 42h7.587L27 39h-9.945L14 29.273zM25.945 16l1.019-3H18l3.852 3h4.093zm25 31.547l1.177 3.594L56.039 54l-2.66-8.128-2.434 1.675zm-34.004 0l1.177 3.594L22.035 54l-2.66-8.128-2.434 1.675z"
  fill="#fff"&gt;&lt;/path&gt;
  &lt;path d="M14 48.136L5.965 54l3.094-9.453L1 39h9.945L14 29.273 17.055 39H27l-8.059 5.547L22.035 54 14 48.136zm34.004 0L39.969 54l3.094-9.453L35.004 39h9.945l3.055-9.727L51.059 39h9.945l-8.059 5.547L56.039 54l-8.035-5.864zM31 22.864l-8.035 5.865 3.094-9.454L18 13h9.945L31 4.001 34.053 13H44l-8.06 6.275 3.093 9.454L31 22.864z"
  stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke="#2e4369"
  fill="none" data-name="stroke"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php echo $rating_level ?&gt;/10&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Rating' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #f3e2ff; fill:  #ba69f8;"&gt;
                        &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Certificate&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path data-name="layer2"
  d="M50 46V10a8 8 0 0 0-8-8H9.2c4.4 0 6.8 3.6 6.8 8v44a8 8 0 0 0 8 8" fill="#fff"&gt;&lt;/path&gt;
  &lt;path data-name="layer1" d="M16 10H2c0-4.4 2.8-8 7.2-8a7.7 7.7 0 0 1 6.8 8z"
  fill="#c3d6f9"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" d="M16 10H2c0-4.4 2.8-8 7.2-8a7.7 7.7 0 0 1 6.8 8zm7 41s4.1 8.2 1.6 11l8.4-5.2-1-5.8z"
  fill="#000064" opacity=".1"&gt;&lt;/path&gt;
  &lt;path data-name="layer1" d="M54 46H24a8 8 0 0 1 0 16h30a8 8 0 0 0 0-16z"
  fill="#c3d6f9"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" d="M24 62h30a8 8 0 0 0 6.9-4h-30a8 8 0 0 1-6.9 4z"
  fill="#000064" opacity=".1"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" d="M54 46H24a8 8 0 0 1 6.9 4h30a8 8 0 0 0-6.9-4z"
  fill="#fff" opacity=".2"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" d="M50 46V10a8 8 0 0 0-8-8H9.2c4.4 0 6.8 3.6 6.8 8v44a8 8 0 0 0 8 8"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" d="M54 46H24a8 8 0 0 1 0 16h30a8 8 0 0 0 0-16zM9.2 2C4.8 2 2 5.6 2 10h14m10 4h14M26 24h14M26 34h14"
  fill="none" stroke="#2e4369" stroke-linecap="round" stroke-linejoin="round"
  stroke-width="2"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php echo WPF()-&gt;member-&gt;blog_posts( WPF()-&gt;current_object['userid'] ) ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Blog Posts' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class="wpf-statbox"&gt;
                    &lt;div class="wpf-statbox-icon" style="background: #ffe7f6; fill:  #ee3ba9;"&gt;
                        &lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Comments&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path data-name="layer1"
  fill="#a6dbff" d="M52 4H2v30h8v11l11.1-11H52V4z"&gt;&lt;/path&gt;
  &lt;path data-name="layer1" fill="#a6dbff" d="M52 26v8H28v14h16.9L56 59.1V48h6V26H52z"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" fill="#000064" opacity=".15" d="M52 26v8H28v14h16.9L56 59.1V48h6V26H52z"&gt;&lt;/path&gt;
  &lt;path data-name="opacity" fill="#fff" opacity=".25" d="M2 4h50v4H2z"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-miterlimit="10" stroke-width="2" d="M28 34v14h16.9L56 59.1V48h6V26H52"
  stroke-linejoin="round"&gt;&lt;/path&gt;
  &lt;path data-name="stroke" fill="none" stroke="#2e4369" stroke-linecap="round"
  stroke-miterlimit="10" stroke-width="2" d="M52 4H2v30h8v11l11.1-11H52V4z"
  stroke-linejoin="round"&gt;&lt;/path&gt;
&lt;/svg&gt;
                    &lt;/div&gt;
                    &lt;div class="wpf-statbox-data"&gt;
                        &lt;div class="wpf-statbox-value"&gt;&lt;?php echo WPF()-&gt;member-&gt;blog_comments( WPF()-&gt;current_object['userid'], wpfval( WPF()-&gt;current_object['user'], 'user_email' ) ) ?&gt;&lt;/div&gt;
                        &lt;div class="wpf-statbox-title"&gt;&lt;?php wpforo_phrase( 'Blog Comments' ) ?&gt;&lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;?php do_action( 'wpforo_profile_after_statbox', WPF()-&gt;current_object['user'] ); ?&gt;								&lt;div class="wpf-statbox"&gt;                   &lt;div class="wpf-statbox-icon points" style="fill:  #007cba;"&gt;                        &lt;svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" aria-labelledby="title"
aria-describedby="desc" role="img" xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
  &lt;title&gt;Medal&lt;/title&gt;
  &lt;desc&gt;A color styled icon from Orion Icon Library.&lt;/desc&gt;
  &lt;path d="M37 9h13.988l-.015-8H11v8h26z"
  fill="#64738f" data-name="layer5"&gt;&lt;/path&gt;
  &lt;path fill="#fff" d="M25 30.158a15.921 15.921 0 0 1 12 .021V9H25z"
  data-name="layer4"&gt;&lt;/path&gt;
  &lt;path fill="#11aeec" d="M25 9H11v6c0 4 2.037 6.055 3.986 8l8.066 8.061.017.033A15.927 15.927 0 0 1 25 30.158z"
  data-name="layer3"&gt;&lt;/path&gt;
  &lt;path fill="#f2605c" d="M47.008 23c1.947-1.947 4-4 4-8l-.016-6H37v21.178a15.937 15.937 0 0 1 1.893.925l.065-.044z"
  data-name="layer2"&gt;&lt;/path&gt;
  &lt;circle fill="#fc6" r="16" cy="44.994" cx="31" data-name="layer1"&gt;&lt;/circle&gt;
  &lt;path opacity=".2" fill="#fff" d="M31 28.994a15.962 15.962 0 0 0-12.3 5.767 16 16 0 0 1 22.6 22.471A15.994 15.994 0 0 0 31 28.994z"
  data-name="opacity"&gt;&lt;/path&gt;
  &lt;g opacity=".15" data-name="opacity"&gt;
    &lt;path fill="#000064" d="M34 59a15.994 15.994 0 0 1-10.308-28.228 15.993 15.993 0 1 0 17.615 26.451A15.906 15.906 0 0 1 34 59z"&gt;&lt;/path&gt;
    &lt;path fill="#000064" d="M23.069 31.093A15.927 15.927 0 0 1 25 30.158a16.252 16.252 0 0 1 1.613-.545L25 28c-4-5-9-11-9-13V1h-5v14c0 4 2.037 6.055 3.986 8l8.066 8.061z"&gt;&lt;/path&gt;
  &lt;/g&gt;
  &lt;path stroke-width="2" stroke-linejoin="round" stroke-linecap="round"
  stroke="#2e4369" fill="none" d="M38.941 31.06L47 23c1.947-1.947 4-4 4-8l-.027-14h-40v14c0 4 2.051 6.055 4 8l8.058 8.061M10.973 9h40M24.971 9v21.159M36.971 9v21.159"
  data-name="stroke"&gt;&lt;/path&gt;
  &lt;circle stroke-width="2" stroke-linejoin="round" stroke-linecap="round"
  stroke="#2e4369" fill="none" r="16" cy="44.994" cx="30.973" data-name="stroke"&gt;&lt;/circle&gt;
&lt;/svg&gt;                        &lt;/div&gt;                    &lt;div class="wpf-statbox-data"&gt;                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'points' ), true ) ?&gt;&lt;/div&gt;                        &lt;div class="wpf-statbox-title"&gt;Punti Reputazione&lt;/div&gt;                    &lt;/div&gt;                &lt;/div&gt; 
            &lt;/div&gt;
        &lt;/div&gt; 
    &lt;?php endif; ?&gt;</code></pre>

If I delete this part of the post it becomes visible again.

By keeping the post as below it is visible.

<figure contenteditable="false" data-attachids="76">
<div class="wpfa-item wpfa-img"><a title="icone personalizzate profilo user" href="https://mrlab.altervista.org/wp-content/uploads/wpforo/attachments/1/76-icone-personalizzate-profilo-user.png" data-gallery="#wpf-content-blueimp-gallery"><img style="max-width: 150px; max-height: 150px;" title="icone personalizzate profilo user" src="https://mrlab.altervista.org/wp-content/uploads/wpforo/attachments/1/thumbnail/76-icone-personalizzate-profilo-user.png" alt="icone personalizzate profilo user" /></a></div>
</figure>
<p><span>Di seguito le istruzioni per aggiungere l'avatar all'ultimo utente iscritto nel footer del forum.</span></p>
<p><span>apriamo ed eseguiamo le seguenti modifiche sul file <strong>/wp-content/plugins/wpforo/themes/2022/profile-home.php</strong></span></p>
<p>Trova</p>
<pre contenteditable="false">&lt;?php if( WPF()-&gt;usergroup-&gt;can( 'vmr' ) ): ?&gt;
         &lt;div class="wpf-profile-section wpf-section-stat"&gt;
... ALTRO CODICE...
&lt;/div&gt;                    &lt;div class="wpf-statbox-data"&gt;                        &lt;div class="wpf-statbox-value"&gt;&lt;?php wpforo_print_number( wpfval( WPF()-&gt;current_object['user'], 'points' ), true ) ?&gt;&lt;/div&gt;                        &lt;div class="wpf-statbox-title"&gt;Punti Reputazione&lt;/div&gt;                    &lt;/div&gt;                &lt;/div&gt; 
            &lt;/div&gt;
        &lt;/div&gt; 
    &lt;?php endif; ?&gt;</pre>
<p>Sostituisci con:</p>

So the problem is either in the length of the text or in the text itself. I hope this can help in some way to find the solution.


1 Reply
Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@marco-rosini 

The issue will be fixed in the next update. 


Marco Rosini
Posts: 24
Customer
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@marco-rosini)
Member
Joined: 4 years ago

Ok thank @astgh .. I just hope this happens before my subscription expires.

I take this opportunity to apologize to @hansaplastique if I joined in the conversation.


Page 2 / 2
Share:
Scroll to top