Jump to content

[IPS4] Tutorials


Recommended Posts

Posted
Just now, DirectorECI said:

Is that not a security flaw? Can I disable the description box completely

Just don't use Javascript there! Description is added on ACP, so don't use it.

Anyway, I'll take a look for the next version.

Posted

I have made it available to certain user to create tutorials from the front end. The security auditor has pointed out this flaw

Posted (edited)
8 minutes ago, SDT said:

I have made it available to certain user to create tutorials from the front end. The security auditor has pointed out this flaw

You mean the tutorial content when you create a tutorial?

EDIT: ah ok, DESCRIPTION is a field in the tutorial post screen.

Taking a look on it now.

Edited by Adriano Faria
Posted

Hello sorry for my English

tutorials 2.2.6

Bots started spamming in comments, about 1000 spam. I deleted guest comments in the table tutorials_comments and launched a search index recalculation
But the statistics of comments are not refreshed. How to update. Tell me please 

image.thumb.png.89feb0e378090d4f204539fc9997df87.png

 

 

Posted
1 hour ago, Adriano Faria said:

It doesn't refreshed because you deleted it manually in the table, which isn't recommended. Run the query:


update tutorials_articles set a_comments = X where a_id = Y;

where:

  • X is the number of comments you want to keep
  • Y is the tutorial ID 
Manually very difficult to handle. A large amount of material in the application.
  • 1 month later...
Posted
1 minute ago, Pedro Ibáñez said:

1 - How to translate this words I don't find them in the location section

c_ordering_author and a_container lang bits.

1 minute ago, Pedro Ibáñez said:

2 - There is posible to change the template of tutorials?

Of course. You're free to do whatever you want in the ACP -> Customization.

Posted
1 hour ago, Adriano Faria said:

c_ordering_author and a_container lang bits.

1 hour ago, Pedro Ibáñez said:

Working, thanks!

1 hour ago, Adriano Faria said:

Of course. You're free to do whatever you want in the ACP -> Customization.

And do you have any template I can buy or do you now any template to buy compatible with tutorials?

  • 1 month later...
Posted (edited)

Hi again!

Please there is any way to use the ips multipage feature? I want to make tutorials with more than one page but it seems not to work with the ckeditor?

 

Much thanks!

Edited by Pedro Ibáñez
  • 1 month later...
Posted
13 hours ago, beats23 said:

Hi, anyone has a live site link can pass to me on here or in PM, so I can see what this app looks like?

Thanks 

I will set up a testing account and will send a message. 

  • 1 month later...
Posted

Hello,

I have a problem with the editor: indent between lines in the article is more than it shows in the editor. In the remaining sections everything is fine. The problem is only with Tutorials. How to fix it?

First screen - article. Second screen - editor.

1.jpg

2.jpg

Posted
16 hours ago, tommax said:

Hello,

I have a problem with the editor: indent between lines in the article is more than it shows in the editor. In the remaining sections everything is fine. The problem is only with Tutorials. How to fix it?

First screen - article. Second screen - editor.

Did you test in default theme?

They look the same in to me:

- Topic:

Orj1XFf.jpg

- Article:

avmaz0e.jpg

Text copied from the URL: https://www.lipsum.com/

Anyway, that's the HTML with CSS classes used in Tutorials for this specific part:

	<div class='ipsColumns ipsColumns_collapsePhone ipsBox'>
		<article class='ipsColumn ipsColumn_fluid'>
			<div class='ipsPad'>
				{{if $article->desc}}
					<h2 class='ipsType_sectionHead'>{lang="a_desc"}</h2>
				{{endif}}
				<section class='ipsType_normal ipsSpacer_top'>
					<div itemprop='text' data-controller='core.front.core.lightboxedImages'>
						{{if $article->desc}}
							<em>{$article->desc}</em>
							<hr class='ipsHr'>	
						{{endif}}
						
						{{if $article->thumb}}
							<div class="cTutorial_image">
								<img class="ipsImage ipsThumb_tiny ipsImage_thumbnailed" src="{file="$article->thumb" extension="tutorials_Image"}">
							</div>
						{{endif}}
						
						{$article->content|raw}
					</div>

I'd suggest you to compare CSS classes between default and your theme.

Posted
21 minutes ago, Adriano Faria said:

I'd suggest you to compare CSS classes between default and your theme.

I'll test Tutotial in default theme and problem not resolve. :(

On the default theme for some reason, the gaps between the lines are displayed.

horrorterritory.com/tutorials/article/1-intervyu-s-prodyuserami-resident-evil-2-remake-kadzunori-kadoi-i-cuyosi-kanda/

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...