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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 513
  • Total: 513

How to batch update articles viewing option via php admin

Started by fangweile, June 02, 2009, 11:43:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fangweile

Hello there,

I have created more than 250 articles and I want to change the viewing option for all articles in category id 4.
I want to display only the following options.

title,linktree,top,cblock,rblock,tblock,lblock,lbblock,category,inherit,social,nofrontsetting

I have tried to run this sql query but it failed
UPDATE smf_tp_articles SET OPTION = 'title,linktree,top,cblock,rblock,tblock,lblock,lbblock,category,inherit,social,nofrontsetting' WHERE category = 4

Thanks in advance for any help

fangweile

Alright, It is working fine now. The query actually worked I just didn't notice it.  My bad

This website is proudly hosted on Crocweb Cloud Website Hosting.