TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 319
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 205
  • Total: 205

Article delete

Started by alhaudhie, November 01, 2008, 02:22:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alhaudhie

TP 1.0.5

I have delele some of my article. But the comment and title is still there. How can i del it using PHPmyAdmin?

SmokyBlue

why would you want to use phpmyadmin for this alhaudhie?

you can do this on your forum, not the  cpanel ;)

depending on what set up you have, in the admin area find where you created it, and just delete..

alhaudhie

Quote from: SmokyBlue on November 01, 2008, 07:35:49 PM
why would you want to use phpmyadmin for this alhaudhie?

you can do this on your forum, not the  cpanel ;)

depending on what set up you have, in the admin area find where you created it, and just delete..

I have deleted it from admin panel. But the topic is still there, but there is no aticle in that page.

IchBin

topic or article? Where are you seeing this? The comment and title where? Please use detail when describing your problem, as its hard for us to read minds. Perhaps shows links or screenshots.

alhaudhie

Ok..

The story like this..  ;D

I was deleted some of my article. And it is succesfull done. I see in my admin article manager, there is nothing about that topic. But when i using this code ;

// Multi Function Article Snippet
// By Dragooon
// www.gforumx.com
// Version 1.1

// Declare the globals to call the main file
global $sourcedir;

// And Call the file
require_once($sourcedir . '/ArticleSnippetTBL.php');

// Declare it, No Need to edit this!
$cats = array();

/************************************
* About
************************************/
# Here is the way You can use it. Please keep reading this before using this snippet so that you will be able to take the full advantage of this snippet.
# There is a set of variables used later(In the function part) which are used to customize. Here is how to use them. Do Not edit the variables in this About, as it will Simply wont work :P

# $mode : This Controls the Mode. You can set it 1,2,3,4,5 or 6. Here is what each mode refers to.
# 1 : Recent Article Posted
# 2 : Top Commented
# 3 : Top Viewed
# 4 : Top rated
# 5 : Recent Comments
# 6 : Random Articles

# $limit : This controls the maximum no. of articles(Or comments if you have mode as 5) to show

# $cats : This is a array which can be specified to show articles(Or Comments if you have mode set to 5) from specific category or multiple categories. Leave blank to show from all categories or use 0 for the uncategorized ones, And use comma ( , ) as a separator. You have to enter the Category's ID not Name

# Now I'll be telling the 7 variables used for showing/not showing some stats/attributes of the article(Or Comment). Set to true if you want to show and false if don't

# $show_comments : Weather to show the no. of comments or not(Doesn't works if Mode is the 5th one).

# $show_views : Weather to show the no. of views or not(Doesn't works if Mode is the 5th one).

# $show_rating : Weather to show the rating of article and no. of voters or not(Doesn't works if Mode is the 5th one).

# $show_time : Weather to show the time the article/comment was posted on or not.

# $show_category : Weather to show the category it was posted in or not(Doesn't works if Mode is the 5th one).

# $show_author : Weather to show the articles/comments' author or not.

# $show_articleComment : Weather to show the article the comment was posted in(Only applies of Mode is the 5th one)

# $output_method : This is a tricky variable which I just included for the ones who have even Basic PHP/HTML Knowledge to customize the whole thing according to there wish. If Set as "array", this will stop showing anything but will return the variables but if set as "echo" it will show the default layout(Which is made mainly for using it in a Block). # If you are using the array method All the $show_ variable will get useless(you can use the variables returned to customize then ;) ). See the File to know what all the variables are.
# If you are using this, Make sure to set something like $item = *The rest of the function*, not just function and use a foreach loop later.
# This is the same way the SSI's $output_method behaves so if you are confused on how to use it, use it like the SSI's variable are used.
# If you don't know coding or don't want to change its looks, I recommend using it as the default "echo" method as IMO it is the best.

// This was the whole *How to* type of part. If you have questions/comments please use the Snippets Topic(From where you got it).
/************************************
* End About
************************************/

/************************************
* The Main Function
************************************/
articles(
$mode = 6,
$limit = 3,
$cats = array(),
$show_comments = true,
$show_views = true,
$show_rates = true,
$show_time = false,
$show_category = true,
$show_author = false,
$show_articleComment = false,
$output_method = 'echo'
);
/************************************
* And here it ends
************************************/



some of the topic is show up without category, but when i click it, it go to blank page.
I check in my article database, the topic is still there.

G6Cad

I want to refer to dragooons own topic for support as this is his code.
Also, i want to ask you to post things in the support topic and not the themes support topics.  ;)

alhaudhie

Quote from: G6 on November 02, 2008, 12:15:16 PM
I want to refer to dragooons own topic for support as this is his code.
Also, i want to ask you to post things in the support topic and not the themes support topics.  ;)


oh.. very sorry... i miss look about this board -Themes-General..

alhaudhie

can i del it ( the article topic) from phpmyadmin. Is can where must i find it?

JPDeni

You should be able to delete it from phpmyadmin, yes.

This website is proudly hosted on Crocweb Cloud Website Hosting.